[Xerte] indexOf and arrays

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Thu Oct 21 17:38:17 BST 2010


Can only suggest searching the code, or waiting for Julian.

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 21 October 2010 17:31
To: Xerte list
Subject: [Xerte] indexOf and arrays


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/5061704b/attachment.html


More information about the Xerte mailing list