jquery check empty json array

by Prakash 2013-10-16 17:22:18

jquery check empty json array

if( !$.isArray(siteArray) || !siteArray.length ) {
//handler either not an array or empty array
}

Tagged in:

668
like
0
dislike
0
mail
flag

You must LOGIN to add comments