Questions tagged [jquery]
jQuery is a JavaScript library. jQuery is a popular cross-browser JavaScript library that facilitates Document Object Model (DOM) traversal, event handling, animations, and AJAX interactions by minimizing the discrepancies across browsers. A question tagged jQuery should be related to jQuery, so jQuery should be used by the code in question, and at least jQuery usage-related elements must be in the question. Consider also adding the JavaScript tag.
jquery
276,170
questions with no upvoted or accepted answers
38
votes
1
answer
2k
views
Having trouble working with SelectWoo instances of Select2 within WooCommerce
I am using Select2 within WooCommerce in some of my own custom areas and I am targeting it with some code to add and removes certain classes and it's working fine except for the SelectWoo instances ...
37
votes
0
answers
723
views
Backbone from NPM via JSPM
I'm trying to install backbone.marionette from NPM with the JSPM for client dependency resolving. A simple operation with the following command in commandprompt:
jspm install marionette=npm:backbone....
32
votes
0
answers
1k
views
Using JQuery Server side datatables in ruby app and pagination shows blank page after 1st page
I am using Jquery Server side datatables and am not able to get the pagination to work on pages 2+.
I have 200 records. The first page shows 50. When I click the pagination numbers at the bottom of ...
22
votes
2
answers
7k
views
Is it possible to capture "Open in New Tab" clicked event of context menu using javascript?
I know I can use capture the Right Click event by using jQuery's "contextmenu" but my question is, how can I capture the event after the context menu appears i.e. When the user clicks on "Open Link in ...
21
votes
0
answers
3k
views
facebook feed not loading after jquery minified version update
I have an artist page on my website and I am fetching particular artist feed from facebook widget. But I have recently updated jQuery minified version to the latest and it stopped working. This ...
21
votes
2
answers
3k
views
Post form via ajax and get a form object in play framework java
I am using play framework 2.3.8 java and using ajax to submit a form but I am not able to get the Form object from that request.My problem is explained below.
I have a Model
@Entity
public class ...
20
votes
0
answers
1k
views
image map area with panzoom & tooltip
There is a simple map of the image with the tooltip when clicking on the area and the possibility of in / out this map:
var $section = $('.plan');
$('.panzoom').panzoom({
$zoomIn: $section....
19
votes
2
answers
5k
views
Post JSON ajax request with cors not working in IE10/Edge
Background:- I created a WCF service hosted in my local system IIS. Service exposes GET/POST method and cross domain enabled and can be accessed using https too. To make it accessible, self signed ...
18
votes
5
answers
1k
views
long-poll jQuery.ajax() fails to callback after phone sleeps?
My web app uses the 'long poll' method to keep up to date with the latest data from my server. The server only responds when it has new data, which can be many minutes apart. (It is a heating control ...
18
votes
3
answers
7k
views
jQuery getScript load vs execution
The getScript docs say about the success callback that:
"The callback is fired once the script has been loaded but not necessarily executed."
But in my testing that doesn't seem to be true. For a ...
17
votes
1
answer
4k
views
gridster auto height and width according to content
I am adding grids using the 'add_widget' method of Gridster. The widget is successfully added, but the unordered list (ul) width is smaller then its contents.
Can anybody tell me how I can resize the ...
16
votes
3
answers
1k
views
JQuery does not open Bootstrap modal on mobile(iPhone)
I have a Javascript/JQuery function which is supposed to open a bootstrap modal after an AJAX request.
This works on PC using Chrome but unfortunately it doesn't work on iPhone(Chrome/Safari)
...
16
votes
2
answers
2k
views
Typeahead and screenreaders
I am using Typeahead/Bloodhound to generate a list from the content of a database. I would like the bloodhound suggestions to be read by the screenreader when highlighted. I have added a few aria ...
16
votes
1
answer
2k
views
progress callback always shows 100% upload in jquery-file-upload plugin
I want to implement a progress bar for the blueimp jquery-file-upload plugin but the progress callback is only fired once immediately after the upload begins and data.loaded == data.total.
<input ...
15
votes
0
answers
539
views
best_in_place ":nil" function does not work in AJAX inserted partial
I have a list of records on my page. I submit a form remotely via AJAX and the new record is appended to the list. All best_in_place features immediately work apart from the :nil option. This doesn't ...