-
Book Overview & Buying
-
Table Of Contents
jQuery 1.4 Reference Guide
These methods allow us to determine the kind of data stored in a variable.
Determine whether the argument is an array.
$.isArray(obj)
obj: The object to be tested
A Boolean indicating whether the object is a JavaScript array (not an array-like object, such as a jQuery object).
Determine whether the argument is a function object.
$.isFunction(obj)
obj: The object to be tested
A Boolean indicating whether the object is a function.
Determine whether the argument is a plain JavaScript object.
$.isPlainObject(obj)
obj: The object to be tested
A Boolean indicating whether the object is a plain JavaScript object (not an array or function, which are subclasses of Object).
Determine whether the argument is an empty JavaScript object.
$.isEmptyObject(obj)
obj: The object to be tested
A Boolean indicating whether the object is an empty...
Change the font size
Change margin width
Change background colour