jQuery()

Accepts a string containing a CSS selector which is then used to match a set of elements. In the first formulation listed above, jQuery() â which can also be written as $() â searches through the DOM for any elements that match the provided selector and creates a new jQuery object that references these elements: $( "div.foo" ); If no elements match the provided selector, the new jQuery object is "empty"; that is, it contains no elements and has .lengt

Button

Themeable buttons. Button enhances standard form elements like buttons, inputs and anchors to themeable buttons with appropriate hover and active styles. In addition to basic push buttons, radio buttons and checkboxes (inputs of type radio and checkbox) can be converted to buttons. Their associated label is styled to appear as the button, while the underlying input is updated on click. For the association to work properly, give the input an id attribu

Collapsibleset

Creates a set of collapsible blocks of content Sets of collapsibles jQuery Mobile will visually style a set of collapsibles as a group and will make the set behave like an accordion in that only one collapsible can be open at a time if you wrap the collapsibles in a div that has the attribute data-role="collapsibleset". By default, all the collapsible sections will be collapsed. To set a section to be open when the page loads, add the data-coll

.width()

Get the current computed width for the first element in the set of matched elements. The difference between .css(width) and .width() is that the latter returns a unit-less pixel value (for example, 400) while the former returns a value with units intact (for example, 400px). The .width() method is recommended when an element's width needs to be used in a mathematical calculation. figure 1 This method is also able to find the width of the window and d