tagged [jquery-selectors]
Wildcards in jQuery selectors
Wildcards in jQuery selectors I'm trying to use a wildcard to get the id of all the elements whose id begin with "jander". I tried `$('#jander*')`, `$('#jander%')` but it doesn't work.. I know I can u...
- Modified
- 7 Dec at 22:39
jQuery: Check if div with certain class name exists
jQuery: Check if div with certain class name exists Using jQuery I'm programmatically generating a bunch of `div`'s like this: Somewhere else in my code I need to detect if these DIVs exist. The class...
- Modified
- 15 Mar at 11:59
How to select specific form element in jQuery?
How to select specific form element in jQuery? I have two form like this: Now I want to insert text in field of . I am using [following jQuery code](http://jsfiddle.net/BNXuw/
- Modified
- 11 Dec at 20:31
JQuery - how to select dropdown item based on value
JQuery - how to select dropdown item based on value I want set a dropdown(select) to be change based on the value of the entries. I have And I know that I want to change the dropdown so that the optio...
- Modified
- 4 Feb at 11:54
Trigger an event on `click` and `enter`
Trigger an event on `click` and `enter` I have a searchbox on my site that. Currently, users must click the submit button next to the box to search via jquery's post. I would like to let users also pr...
- Modified
- 5 Feb at 03:26
In jQuery how can I set "top,left" properties of an element with position values relative to the parent and not the document?
In jQuery how can I set "top,left" properties of an element with position values relative to the parent and not the document? `.offset([coordinates])` method set the coordinates of an element but only...
- Modified
- 5 Oct at 11:8
jQuery get specific option tag text
jQuery get specific option tag text All right, say I have this: What would the selector look like if I wanted to get "Option B" when I have the value '2'? Please note that this is not asking how to ge...
- Modified
- 20 Aug at 14:25
JQuery create new select option
JQuery create new select option I have the below functions in regular JavaScript creating select options. Is there a way I can do this with jQuery without having to use the form object? Perhaps storin...
- Modified
- 27 Oct at 19:36
jQuery - passing value from one input to another
jQuery - passing value from one input to another I have a form, with several input fields that are `title`, `name`, `address` etc What I want to do, is to get these values and 'put them' into values o...
- Modified
- 5 May at 10:33
Not class selector in jQuery
Not class selector in jQuery Is there a simple selector expression to not select elements with a specific class? I just want to get the first three divs and tried But this receives all as the last div...
- Modified
- 6 Jan at 10:51
Access the css ":after" selector with jQuery
Access the css ":after" selector with jQuery I have the following css: I'd like to change the border-width of
- Modified
- 22 Jul at 13:41
jQuery UI tabs. How to select a tab based on its id not based on index
jQuery UI tabs. How to select a tab based on its id not based on index I have two tabs and configured usign jQuery UI. dynamically from C# code behind I will hide or select some tab let say tabtwo and...
- Modified
- 18 Jan at 21:29
Set select option 'selected', by value
Set select option 'selected', by value I have a `select` field with some options in it. Now I need to select one of those `options` with jQuery. But how can I do that when I only know the `value` of t...
- Modified
- 18 Sep at 15:40
jQuery: how to find first visible input/select/textarea excluding buttons?
jQuery: how to find first visible input/select/textarea excluding buttons? I tried but it doesn't find anything. What is my mistake? UPD: I execute this on $(document).load() ``` $(window).load(functi...
- Modified
- 13 May at 00:5
How can I exclude $(this) from a jQuery selector?
How can I exclude $(this) from a jQuery selector? I have something like this: When one of these links is clicked, I want to perform the .hide() function on the links that are not clicked. I understand...
- Modified
- 20 Sep at 14:59
Get a list of checked checkboxes in a div using jQuery
Get a list of checked checkboxes in a div using jQuery I want to get a list of names of checkboxes that are selected in a div with certain id. How would I do that using jQuery? E.g., for this div I wa...
- Modified
- 2 Aug at 11:20
jQuery function to get all unique elements from an array?
jQuery function to get all unique elements from an array? [jQuery.unique](http://api.jquery.com/jQuery.unique/) lets you get unique elements of an array, but the docs say the function is mostly for in...
- Modified
- 22 Jan at 16:38
jQuery selector to get form by name
jQuery selector to get form by name I have the following HTML: Just to know, I am to modify the HTML in order to add an `id` or something else. This is what I tried to get the `form` element by it's n...
- Modified
- 16 May at 23:43
jQuery how to find an element based on a data-attribute value?
jQuery how to find an element based on a data-attribute value? I've got the following scenario: and there are 5 ``'s on the page each with a `data-slide=number` attribute . I now need to find the curr...
- Modified
- 24 May at 15:38
Combining a class selector and an attribute selector with jQuery
Combining a class selector and an attribute selector with jQuery Is it possible to combine both a class selector an attribute selector with jQuery? For example, given the following HTML: ``` Row 1 R...
- Modified
- 3 Jun at 17:15
jQuery UI Open Dialog run Function
jQuery UI Open Dialog run Function This is the gist of what I am trying to accomplish with this code. I want to select an HOUR ahead, which this code Does do that, it just selects 4 items down. BUT my...
- Modified
- 1 Feb at 22:8
jQuery: How to get to a particular child of a parent?
jQuery: How to get to a particular child of a parent? To give a simplified example, I've got the following block repeated on the page lots of times (it's dynamically generated): When clicked, I can ge...
- Modified
- 19 May at 17:1
use jQuery's find() on JSON object
use jQuery's find() on JSON object Similar to [brnwdrng's question](https://stackoverflow.com/questions/4414778/searching-a-json-object-with-jquery), I'm looking for a way to search through a JSON-lik...
- Modified
- 23 May at 12:2
jQuery - Click event on <tr> elements with in a table and getting <td> element values
jQuery - Click event on elements with in a table and getting element values I have the following HTML in a [JSP](http://en.wikipedia.org/wiki/JavaServer_Pages) file: ``` ${cust.number}...
- Modified
- 3 Feb at 22:40
Multiple selector chaining in jQuery?
Multiple selector chaining in jQuery? Normally when I use a class as a selector I try to use an "id" selector with it so it does not search through the entire page but only an area where the class wou...
- Modified
- 5 Sep at 19:49