09.02.2015 Views

DOM Traversal Methods - MarkMail

DOM Traversal Methods - MarkMail

DOM Traversal Methods - MarkMail

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Miscellaneous <strong>Methods</strong><br />

Freedom of choice is what you got<br />

Freedom from choice is what you want<br />

—Devo,<br />

"Freedom of Choice"<br />

In the preceding chapters, we have examined many categories of jQuery methods.<br />

A few methods provided by the library have so far defied categorization, though.<br />

In this chapter, we will explore methods that can be used to abbreviate common<br />

JavaScript idioms.<br />

Setup <strong>Methods</strong><br />

These functions are useful before the main code body begins.<br />

$.browser<br />

Contains information about the currently running browser.<br />

Parameters<br />

None.<br />

$.browser<br />

Return Value<br />

Boolean flags for each user agent possibility.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!