/ Published in: JavaScript

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if (testarray.length <1) alert("array is empty"); //or if(A && A.length==0) //or if you have other objects that A may be: if(A && A.constructor==Array && A.length==0)
Comments
