12.11. Utility Methods

Browser detection is notoriously unreliable, but jQuery provides a number of methods to assist you with detecting the capabilities of your visitors' browsers. For example, the following code will return true or false depending on whether the browser supports the box rendering model:

alert($.support.boxModel);

For the full list of functionality you can query, please see http://docs.jquery.com/Utilities/jQuery.support.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.234.24