Top "Jquery-selectors" questions

Selectors can be used in jQuery to match a set of elements in a document.

jQuery - determine if input element is textbox or select list

How would I determine whether the element returned by an :input filter in jQuery is a textbox or select list? …

jquery jquery-selectors
Select element by exact match of its content

All right, I wonder if there is a way to make the :contains() jQuery's selector to select elements with only …

jquery jquery-selectors
How to detect if a browser is Chrome using jQuery?

I have a bit of an issue with a function running in chrome that works properly in Safari, both webkit …

jquery jquery-ui google-chrome jquery-selectors cross-browser
Sort divs in jQuery based on attribute 'data-sort'?

If I have several divs: <div data-sort='1'>div1</div> <div data-sort='4'&…

jquery jquery-selectors javascript jquery-ui-sortable
jQuery scrollTop not working in Chrome but working in Firefox

I have used a scrollTop function in jQuery for navigating to top, but strangely 'the smooth animated scroll' stopped working …

jquery jquery-ui jquery-selectors
jQuery selector for inputs with square brackets in the name attribute

I'm trying to select this element which has square brackets in the name attribute: <input type="text" name="inputName[]" …

javascript jquery input jquery-selectors
Jquery bind double click and single click separately

Is there something in jquery that would allow me to differentiate between behavior on double click and single click? When …

jquery jquery-selectors
JQuery show/hide when hover

I have three links, Cat, Dog, Snakes. When I hover over each, the content relating to each link should change. …

jquery jquery-plugins jquery-selectors jquery-events
How can I get selector from jQuery object

$("*").click(function(){ $(this); // how can I get selector from $(this) ? }); Is there an easy way to get selector from $(this)? …

javascript jquery jquery-selectors tree-traversal
How can I get the corresponding table header (th) from a table cell (td)?

Given the following table, how would I get the corresponding table header for each td element? <table> <…

jquery jquery-selectors