How to know if a value is empty
2 answers
you can use javascript to check the length of the array.
if (data.length==0){
// do something array is empty
}
here is the related answer from fooobar.com/questions/77088 / ...
+4
source to share