Can't get rangeslider.js to work

jQuery
I am trying to use the rangeslider jQuery plugin: http://andreruffert.github.io/rangeslider.js/ However, it doesn't seem to work. What am I doing wr...
1 year ago

jQuery - remove input field if input was deleted

jQuery
I am adding input fields on keystroke, by using an example from the answer for this question. This is my example. I was trying in various ways to remo...
1 year ago

Autocomplete show all values

jQuery
I have a struggle showing all possible autocomplete rows. I`m using db to store all the rows. Now I use that script : <script type="text/java...
1 year ago

Wait on SweetAlert response

jQuery
I currently have a function that asks the user for confirmation when changing a value in a dropdown. This works fine using the standard JavaScript con...
1 year ago

How do I remove an input field after it's being emptied

jQuery
I am adding input fields on keystroke, by using an example from the answer for this question. This is my example. I was trying in various ways to remo...
1 year ago

How do wrap these groups of li elements in ul containers?

jQuery
Goal: First wrap the elements before the first empty div in a set of ul containers and then do the same for the elements that are between empty lis. ...
1 year ago

Using swipe gestures to change pages in multi page jquery mobile application

jQuery
Is there a way to implement swipe gesture navigation on a Jquery Mobile multi page template mobile website/application. Keeping it simple here. I can...
1 year ago

Bootstrap carousel more slides linked to one indicator

jQuery
I am using Bootstrap carousel control and I need to use less indicators than slides. So for example for slide 1 - 3 the first indicator will be active...
1 year ago

Backbone click event not firing in Google Chrome

jQuery
I have the following code and it works in every browser except Google Chrome. I want every time I click on an option to alert me with the "You selecte...
1 year ago

How to validate the form field using input append

jQuery
I have created the form with multiple form field using html and jquery. Form fields have Firstname,Email, Mobile No,No Of Refer.No of Refer was select...
1 year ago

Bootstrap Modal Position issue

jQuery
I want to divide the screen as left menu and main menu with Bootstrap. Left Menu will be "col-md-2" and Main Menu will be "col-md-10" and I'd like t...
1 year ago

Why is jquery show() not working in example

jQuery
Please consider this Plunk. It's purpose is to provide a very simple simulation of a loading mechanism. I have a simple set up: <body> &...
1 year ago

How to set cursor position at the end of input text in Google Chrome

jQuery
This is my first question here so, I'm sorry in advance if I do something wrong. I'm trying to set the cursor in a text field with a focus function. ...
1 year ago

JS selector on click not working for django model generated content

jQuery
This might be a dumb mistake but I have this code: $('#delete-btn').on('click', function(){ return confirm('Are you sure you want to delete this?...
1 year ago

Target first level <li>s and not the nested <li>s

jQuery
I have the following HTML: &lt;ul&gt; &lt;li&gt;A &lt;ul&gt; &lt;li&gt;subsection&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;B ...
1 year ago

Remove '&nbsp;' - still trying

jQuery
Still looking for a way to delete '&amp;nbsp;' from my html code, found number of ways on stackoverlow.com, but neither of those seam to work! HTML ...
1 year ago

How do I make an element draggable in jQuery?

jQuery
How do I make an element, e.g. a div, draggable using jQuery?
1 year ago

JQuery: Build HTML in 'memory' rather than DOM

jQuery
Is there a way to 'pre-build' a snippet of HTML before adding it to the DOM? For example: $mysnippet.append("&lt;h1&gt;hello&lt;/h1&gt;"); $mysnippe...
1 year ago

Check syntax of JavaScript(jQuery) code before running jQuery.globalEval() or eval()

jQuery
Continuing with topic: jQuery .globalEval() function I use jQuery.globalEval(varwithJScode); Now the problem starts when code in varwithJScode conta...
1 year ago

How to get items returned from an array in a function

jQuery
I have a function which returns an array of two variables. function exampleFunction() { var variable1 = 'test'; var variable2 = 'test2'; ...
1 year ago