« [Photoshop] How to create your own Chroma Wallpaper | Home | My Javascript (non-AJAX) Progress / Percentage Bar : jsProgressBarHandler 0.3 »
Javascript isArray() : Check if an element/object is an Array
The isArray() function over at BreakingPar.com looks great at first, but unfortunately does not work in Safari. This one here does work
-
// X-Browser isArray(), including Safari
-
function isArray(obj) {
-
return obj.constructor == Array;
-
}
About this entry

Feb 01 2008 / 9:51 pm


Best of Bram.us
Start getting used to scratching and smudging the iPhone with this Flash based iPhone Simulator
Automatically wrap/float/contour text around freeform images using CSS for usage in (X)HTML pages.
Pimp Your Firefox to be a web all-star
A look at the inc.common.php, spreading handy functions.
Photoshop Script inspired in the Chlomoscript to unobtrusively pimp photos you have taken.
Methods to adding file management options to TinyMCE (Part 1), Extending TinyFCK (Part 2) and PHP file uploads overview (Spinoff 1).





Comments
Works great, thanks!
awesome, that’s what i’ve been looking for