Questions tagged as 'jquery'

1
answer

After filtering content, jQuery does not work

I made a code listing database items with PHP (using data-id for jQuery to "read" the click), but when you filter the items using Ajax, click it to work. PHP while ($furni = $furnis->fetch_assoc()) { echo '<img src="./web-gallery...
asked by 22.03.2015 / 14:53
1
answer

ajax function does not work

I'm using this little function to run my ajax without mimimi, see var HTTP = 'http://127.0.0.1/'; function ajax(to, data) { $.ajax({ type: "POST", url: (HTTP + to), data: data, cache: false, success: function(output) { alert(output); }...
asked by 22.03.2015 / 04:20
1
answer

Delete record without page refresh?

I have the following Ajax / Jquery to delete a record according to the action of a href. <script type="text/javascript"> function apagarRegistro(idTel) { var baseurl = '<?php echo $sig_url;?>'; $.a...
asked by 13.02.2015 / 13:51
1
answer

How to use JQuery Sortable?

I have this code where I'm using sortable of JQuery. But I'm having problems because I'd like each item to be moved only by ico , but the current code lets you drag each item from anywhere in it. Can anyone help me?     
asked by 20.07.2015 / 20:38
1
answer

Create search tags for Select2

I'm using the Select2 library. I will use it to search for help pages, however I need it to search for tags and not just for the text in Option ex: Today: <optgroup label="Mountain Time Zone"> <option value="AZ">Arizona</op...
asked by 20.07.2015 / 17:23
1
answer

Roll the page vertically wait and roll again

I have a page in PHP that reads an XML with an RSS, I would like to know if there is any way I scroll the page until the second RSS appears and then continue until the next RSS successively. See page: link While scrolling, you can see ot...
asked by 19.07.2015 / 05:34
1
answer

Fill ValidationSummary with Data Annotations Errors in Submit by AJAX

Define several DataAnnotations for the template which the instance instance. When the form submission is not for AJAX, everything works as it should, that is, ValidationSummary is populated with ErrorMessage defined in my classes....
asked by 20.07.2015 / 03:59
1
answer

Click in Jquery does not work

As per this question I previously asked and it was resolved I have another question that happens after that. $(".membrosClick").click(function() { var el = $(this); el.css("width", "766px"); el.children().show(); }); $(".mem...
asked by 12.03.2015 / 22:18
1
answer

Input only with V or F

Is it possible to put an input where it only receives (V) or (F)? <script type="text/javascript"> jQuery(function($){ $("#resposta_vouf").mask("(a)"); }); </script> <input type="text" id="resposta_vouf" />...
asked by 15.03.2015 / 08:50
1
answer

How can I change an item's menu with click event? [duplicate]

I'm working on this site and would like to be able to help me to appear only the submenu of the item that was clicked. Explaining a little, I put the image inside the <li> that contains the class sub-menu and assign...
asked by 15.03.2015 / 01:20