Questions tagged as 'jquery'

1
answer

Check if you have any checkbox checked and enable button

How to do in JQuery, a function that checks if there is a checkbox selected, if there is any one it enables the delete button, if there is more than 1 it places the text in the plural. I made the following code: DEMO JSFIDDLE fiddl...
asked by 14.07.2014 / 16:31
2
answers

How to disable JqueryDatatables auto search?

I'm using Jquery Datatables, and I need to remove the auto search it has, by leaving a "Search" button next to Has anyone done this yet?     
asked by 08.09.2014 / 23:12
2
answers

Problems in content on demand (infinite scroll)

I'm trying to make the content increase by checking the user scroll down, but my code stopped here .. <script> $(document).ready(function() { var limit = 5; var offset = 0; var altura = 1000; $.post( "artes4.php", { limit: limit, offset:...
asked by 06.09.2014 / 01:53
1
answer

pass a JQUERY value to the window.open () function

How can I retrieve a value that comes from a request through JQUERY to a database and put this value into a window.open () function; JQUERY $(document).on("click", ".modal", function () { var key = $(this).data('numero'); var url = '...
asked by 04.08.2015 / 04:15
2
answers

search in json with ajax in specific field

How to search data in a JSON with AJAX? I want to do the search in a JSON field called tag and show another field (title and url) in a div. HTML: <div class="Minimizado top-menu-invisible hidden-mobile hidden-md hidden-sm"> <in...
asked by 28.07.2015 / 16:10
2
answers

Add option to select with jQuery through $ .post callback

I am making a select that will have some users and when selecting a user will send a request $.post to get all records related to the selected user. After returning the related records, the jQuery will return the callback...
asked by 07.10.2014 / 06:03
3
answers

Tag script is not printed with jQuery

I need to print a script using jQuery however, all the code is printed and the script does not, does anyone know how to solve this? Here is the code below: codigo = '<div id="teste"><input type="submit" id="botao" value="Send" />&l...
asked by 29.01.2014 / 16:12
2
answers

Assign multiple elements to different values using the same function

I have 5 IDS (5 DOM elements) and I need to use JQuery's text () function to add different text to each one of them. $("#ID1").text("bla"); $("#ID2").text("blabla"); .... There is a simpler way of doing this, if the texts were the sam...
asked by 14.01.2015 / 14:13
1
answer

How to change the folder in the jQuery File Upload plugin?

How to change the folder where the jQuery File Upload plugin looks for the images to be displayed? Currently the folder is the "files" but I did not find the location where it is indicating the folder being searched for.     
asked by 29.04.2014 / 19:45
1
answer

Clear the fullcalendar background

I'm using fullcalendar for a system where the user clicks on a day to bookmark a calendar. I need to leave the background of the day clicked with a certain color and this I found in the documentation how to do and is simple even, my problem he...
asked by 02.05.2014 / 14:51