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

.innerHeight()

Get the current computed height for the first element in the set of matched elements, including padding but not border. This method returns the height of the element, including top and bottom padding, in pixels. This method is not applicable to window and document objects; for these, use .height() instead. figure 1 The number returned by dimensions-related APIs, including .innerHeight(), may be fractional in some cases. Code should not assume it is

.bind()

Attach a handler to an event for the elements. As of jQuery 1.7, the .on() method is the preferred method for attaching event handlers to a document. For earlier versions, the .bind() method is used for attaching an event handler directly to elements. Handlers are attached to the currently selected elements in the jQuery object, so those elements must exist at the point the call to .bind() occurs. For more flexible event binding, see the discussion of

.wrapInner()

Wrap an HTML structure around the content of each element in the set of matched elements. The .wrapInner() function can take any string or object that could be passed to the $() factory function to specify a DOM structure. This structure may be nested several levels deep, but should contain only one inmost element. The structure will be wrapped around the content of each of the elements in the set of matched elements. Consider the following HTML: <

deferred.reject()

Reject a Deferred object and call any failCallbacks with the given args. Normally, only the creator of a Deferred should call this method; you can prevent other code from changing the Deferred's state by returning a restricted Promise object through deferred.promise(). When the Deferred is rejected, any failCallbacks added by deferred.then() or deferred.fail() are called. Callbacks are executed in the order they were added. Each callback is passed the

Panel

Creates a panel widget Panels are designed to be as flexible as possible to make it easy to create menus, collapsible columns, drawers, inspectors panes and more. Where panel markup goes in a page A panel must be a sibling to the header, content, and footer elements inside a jQuery Mobile page. You can add the panel markup either before or after these elements, but not in between. Here is an example of the panel before the header, content and

Tooltip

Customizable, themeable tooltips, replacing native tooltips. Tooltip replaces native tooltips, making them themeable as well as allowing various customizations: Display other content than just the title, like inline footnotes or extra content retrieved via Ajax. Customize the positioning, e.g., to center the tooltip above elements. Add extra styling to customize the appearance, for warning or error fields. A fade animation is used by default to show

jQuery.parseHTML()

Parses a string into an array of DOM nodes. jQuery.parseHTML uses native methods to convert the string to a set of DOM nodes, which can then be inserted into the document. These methods do render all trailing or leading text (even if that's just whitespace). To prevent trailing/leading whitespace from being converted to text nodes you can pass the HTML string through jQuery.trim. By default, the context is the current document if not specified or give

.mouseenter()

Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element. This method is a shortcut for .on( "mouseenter", handler ) in the first two variations, and .trigger( "mouseenter" ) in the third. The mouseenter JavaScript event is proprietary to Internet Explorer. Because of the event's general utility, jQuery simulates this event so that it can be used regardless of browser. This event is sent to an element w

jQuery.globalEval()

Execute some JavaScript code globally. This method behaves differently from using a normal JavaScript eval() in that it's executed within the global context (which is important for loading external scripts dynamically). jQuery.globalEval( code ) version added: 1.0.4 code String