Linked Questions

1055 votes
17 answers
2.4m views

I'm using the jQuery Quicksand plugin. I need to get the data-id of the clicked item and pass it to a webservice. How do I get the data-id attribute? I'm using the .on() method to re-bind the click ...
Bruce Adams's user avatar
  • 12.4k
50 votes
4 answers
16k views

Having the following html snippet <div class="something"> <p>Some text</p> </div> <div class="somethingElse"> <p>some other text</p> </div> I ...
harpax's user avatar
  • 6,126
1 vote
3 answers
20k views

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#btn")....
learner's user avatar
  • 21
2 votes
6 answers
3k views

I have a HTML code generated dynamically from a model using .NET MVC. Between the field there is a select with selected option (based on the data from the model). <select class="myClass" data-val="...
Hawk's user avatar
  • 412
3 votes
4 answers
2k views

This is the idea: When I click on "word1" (or "word2") the select tag shows me the options. Once I click on one of the options, my script change "word1" (or "word2") whit the option. I can update the ...
TTK's user avatar
  • 233
1 vote
2 answers
6k views

I am creating a dynamic <select> element through jQuery append() function, but I cant seem to get the correct selected value. I always get the first option, which is 1. I am trying to configure ...
Loukas Avramidis's user avatar
0 votes
1 answer
6k views

i have a table called Members in sql server like this: MemberId MemberName MemberAddress City Pin OpeningDate ClosingDate InstallmentAmount Status 100 Abilash Hebbal Mysore ...
curiousboy's user avatar
-1 votes
2 answers
3k views

oke i have select field <select id="select" required name="bank" > <option value="cash">Cash</option> <option value="debit">Debit Card</option> <option value="...
derylihs's user avatar
0 votes
5 answers
207 views

I know the title isn't very descriptive but I hope i can clarify my problem here: I have multiple identical select dropdowns. Now, what I wan't to do is to remove an option from all other dropdowns if ...
NickEckhart's user avatar
0 votes
1 answer
651 views

Here I am trying to add a few classes in this ".ingradient" class element when ".tt-select" select changes. So, I was almost there. But when I select the option, there is a list of ...
zahid3d29's user avatar
0 votes
5 answers
328 views

I have the following code: <label for="city">City</label> <select id="city" name="city" required> <option value="">Select city</option> <option value="city1">...
AusTex's user avatar
  • 205
0 votes
1 answer
388 views

i have been struggling with this for the past 6 hours but i can't find a solution. I'm using jquery mobile 1.4.5. I have a select with 5 options. They are all selected and when one is deselected i ...
Lagastic's user avatar
-2 votes
1 answer
266 views

How can I make input modal box or another way by Laravel Blade? My goal is that if I click to insert new list item in the list, then modal input box show. <div class="form-group col-sm-4 col-lg-4"...
JsWizard's user avatar
  • 1,759
5 votes
2 answers
100 views

I want to add an event trigger on a drop-down <select> list. Example (jsFiddle): $( document ).ready(function() { $('.lorem').click(function() { alert('ipsum'); }); }); ...
Henrik Petterson's user avatar
-1 votes
2 answers
130 views

Searched on Stack overflow (jquery select change event get selected option) and trying use the code but not getting any where. When options are changed the value put together make a var which points ...
irontamoor's user avatar

15 30 50 per page