Top "Jquery-selectors" questions

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

jquery: children() vs child selector ">"

I have a table that has a section similar to the following: <tr> <td> <span …

jquery jquery-selectors children
Removing an element after a div with Jquery

I would like to remove the p tag that directly follows a div using jquery. Here is my HTML: <…

jquery jquery-selectors dom-traversal
jQuery - Check if the tag's content is equal to sometext then do something

Let's say I have many of these in my content div : <cite class="fn">blabla</cite> …

javascript jquery dom jquery-selectors dom-traversal
How to get, set and select elements with data attributes?

I'm having some trouble with data-attributes, I can't get anything to work for some reason so I must be doing …

jquery jquery-selectors custom-data-attribute
select document root using jquery

I can select the body and html parts of the document using $('body') and $('html') respectively, but how do I …

jquery html jquery-selectors document-root
How to select all elements with particular ARIA value using jQuery?

Given i have a sample page that looks like this: <!DOCTYPE html> <html> <body> &…

javascript jquery jquery-selectors wai-aria
Difference between $(window).width() vs $(document).width()

What is the major difference between $(window).width() vs $(document).width() in jQuery? Whether window denotes the browser and document …

javascript jquery jquery-selectors dimensions
jQuery Selectors: Select element with specific class and 'title' attribute

This should be an easy one, but I can't find a good example anywhere. I'm trying to select a particular …

jquery class jquery-selectors attributes title
jQuery : eq() vs get()

I'm new to jQuery, and I'm wondering what the difference is between jQuery's get() and eq() functions. I may misunderstand …

jquery jquery-selectors
Can jQuery selectors be used with DOM mutation observers?

HTML5 includes a concept of "mutation observers" to monitor changes to the browser's DOM. Your observer callback will be passed …

jquery html jquery-selectors greasemonkey mutation-observers