I have a JQuery which is retunring an array of LockedProjects [] which is decalred as global variable.
var LockedProjects = [];
I wanted to display the values of this array LockedProjects in another JQuery I m accesing this array of values in an alert box to display and separating them with comma. Before displaying that I am checking the length of it.
if(LockedProjects.length>0)
alert(LockedProjecrs.join(,));
'if' condition is passed But It is not displaying any values. Can any one help on this?
,isn't a string.","is.