Questions tagged as 'jquery'

1
answer

Object appears in place of the page

My question is this: I want / need a code for my site, which works in the way of this site . In it, when the user uses the scroll of the mouse to descend a little on the page, a little bit (which when clicked, goes back to the top ) appears...
asked by 25.03.2014 / 22:32
1
answer

Identify screen size to load content asynchronously

I have a script that does reload every 10 seconds, loading a page into a div : <script type="text/javascript"> var tempo = 10000; function listar() { $.ajax({ url:"lista.php", success...
asked by 20.07.2018 / 13:15
1
answer

LINK Anchor for Section Does Not Work in FireFox

$(window).load(function() { $('a.scroll').each(function() { var id = $(this).attr('href'); if (id.match('^#')) { var target = $(id).offset().top - 65; var title = $(this).attr('title'); $(this).on('click tap', functi...
asked by 14.09.2015 / 16:37
2
answers

Obligate fields from selected radio

How do I jquery validate validate only the fields of the selected radio input? Example: I have 2 input radio (individual and corporate) I want to validate only the selected radio fields. If the user selects a physical pers...
asked by 15.09.2015 / 05:28
2
answers

When selecting an option, the color of the selected option is marked

I have the following select that is coming from the database as shown below: <?php...while($listar=mysqli_fetch_object($sql)){$mostrar.=" <select name='Situacao[]' class='md-form-control'> <option value=''>Se...
asked by 11.05.2018 / 11:51
1
answer

html input hidden fields do not exit in $ _POST

I have next jQuery // JavaScript Document $(document).ready(function() { $("#contato").on("submit", function () { var formData = new FormData(this); $.ajax({ url: "_requeridos/emailAcompanha.php",...
asked by 01.06.2018 / 15:30
1
answer

Execute jQuery function in dynamically generated table after an AJAX

I need to execute the function below, after the AJAX request it has to remove the table row, if I put the code that removes the direct line in the function it removes the line normally, but if I put inside the AJAX success it does not remove the...
asked by 22.10.2014 / 15:55
3
answers

Ajax request is not working

I'm having trouble making a request via ajax. The idea is that when checking out the email field a check will be done in the database if there is an equal registered email, but if I use the "dataType: 'json'" it does not work. It only works with...
asked by 23.10.2014 / 01:10
1
answer

How to use Javascript to manipulate data from the database? [closed]

I'm now starting to deal with web development in PHP. We know that to have an efficient and dynamic system, it is advisable to use JavaScript, such as, JQuery, AngularJS, Backbone.js and others. But from what I know of Javascipt, it does not hav...
asked by 20.11.2015 / 12:16
2
answers

How to retrieve values contained in a span with jQuery?

How do I get the values that are within a span ? For example: <?php $total_prod = $this->totalRegistros($sql_prod); $preco=$this->getPreco(); for($j=0;$j<$total_prod;$j++){ echo" <div>...
asked by 15.10.2014 / 19:30