[Xerte] indexOf and arrays

Dave Burnett d_b_burnett at hotmail.com
Thu Oct 21 17:30:58 BST 2010



Can I check for an array value 

I debug my array and get this:

graphic,text,index

But,

debug(attributeArray.indexOf('graphic')); //returns undefined.

indexOf not supported or my syntax stinks?
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20101021/a9148ef5/attachment.html


More information about the Xerte mailing list