Kevin

Javascript has a split function


var user_id = document.theform.userida.options[i].value.split(".")
//
user_id[0] // this gives you the first element in the array
//

Rob
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kevin
Faulkner
Sent: Thursday, 22 April 2004 9:48
To: CFAussie Mailing List
Subject: [cfaussie] OT: Javascript version of ListGetAt


Morning all,

   Having a dumb day, is there a JS equivalent of ListGetAt or have I to
chunk through it using substring etc?




---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

__________ NOD32 1.730 (20040421) Information __________

This message was checked by NOD32 antivirus system.
http://www.nod32.com



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to