All Questions
355 questions
0
votes
1
answer
1k
views
Multiselect dependent dropdown for country and state
kindly help how to make this multiple option select for country and state,
below code in single select is working fine but i need to make this multi-select dependent dropdown.
below code is complete ...
0
votes
0
answers
51
views
Want to use YDN-db database instead of Ajax with Select2
I want to use YDN-db with select2, i tried few options but unable to sort.
So i want to use executeSql command as below
APP.db.executeSql("SELECT * FROM products WHERE name like '%test%'")....
0
votes
0
answers
23
views
Why does IE 11 report "Invalid argument" for chained selectors :tabbable:first?
I'm tracing through jQuery now, and I'm posting this in hopes that someone might have come across this before. I'm working with jQuery 3.2.1 that has been extended by a snippet from jQuery UI so that ...
0
votes
1
answer
7k
views
Get the value attribute of the selected LI element in jQuery UI menu
I have prepared a jsFiddle for my question:
For that I have taken the jQuery UI menu with categories example and have just added VALUE="some_number" attribute to each <LI>-element:
<ul id="...
0
votes
2
answers
44
views
jQuery prependTo selector string
So, I'm at a stage where I have the script choosing the right body of a HTML webpage, but instead of selecting the correct sub-elements, the script adds an image to every single possible element ...
1
vote
1
answer
345
views
Unable to get jQuery-ui selectmenu to render
I am creating a select menu dynamically using javascript but I cannot see it on screen. I am not sure what I am missing.
I am using jQuery 2.2.4 and jQuery-ui 1.11.4
Here is my javascript:
var ...
1
vote
0
answers
41
views
Is there a way to effectively mix and match DOM elements and jQuery selectors?
I would like to perform jQuery operations on event targets: if some mouses over one specific DIV in an LI, I would like to run a jQuery (UI) effect on anothjer specific DIV descendant of the LI.
I ...
2
votes
1
answer
841
views
Is it possible to draw a rectangle with mouse to select multiple DIVs?
I want to drag a rectangle with mouse to select those divs.
The selected div will change class from “no” to “yes”. Also, the a link is clickable and dblclickable
<div id= "container" >
<...
0
votes
1
answer
46
views
jquery inside document.ready alert for all event accurance like click,load,change,resize,scroll,etc
i need an alert inside document.ready which need to pop in all event accurances
like click mouseenter mouseout drag scroll focus blur resize etc.. and all
any comments are welcome
thank you.
$(...
0
votes
4
answers
139
views
Jquery Checkbox That Checks List Below It
I want to build a jquery function or onclick event which checks all checkbox if you click on the middle list and uncheck all checkbox above its list.
To explain futher, example I have 5 checkbox:
...
0
votes
1
answer
401
views
jQuery :data() selector not working after being set
I expect to match at least one element, but I get zero. What am I doing wrong?
$("tr:first").data("aaa", "333"); // setting the data
console.log($("tr:data(aaa == &...
1
vote
0
answers
210
views
(Iris Colorpicker) Hide UI widget when clicking somwhere else
I'm using the Iris Color Picker by Automattic in a project and I would like the picker widget to close when clicking anywhere else than on the widget. For some reason I can't get my head around it and ...
0
votes
2
answers
99
views
Filter out all elements in a jQuery result set that have a parent (at any level) with a certain class
I'm trying to apply some jQueryUI functionality to elements all throughout my SPA, however I'm having trouble omitting elements contained in a certain parent. I'm not actually sure if jQuery can do ...
0
votes
1
answer
56
views
Disable draggable for each element using :lt(3) Selector
I have the following working code:
$stock.click(function () {
$waste.append($stock.children('.container:lt(3)').card('upturn').droppable('disable').css( "left", function(i) {return ["0rem", "2rem"...
0
votes
1
answer
105
views
Repeat a function 3 times, but each time change .animation
I have a bunch of div's stacked on a main div called: #deck. If I click #deck, the top div will move to the left and will have some classes added (like: .addClass('on-discard-pile')).
If I click #...