I've always treated <SELECT> and its <OPTION>'s as an array with elements.
So I was quite surprised when the following
<script language="javascript" type="text/javascript">
function joinMyArray(list)
{
alert("Array to String Result = " + list.join());
}
</script>
<form name=myForm>
<select name="selectAList">
<option value="a">Alan
<option value="b">Brian
<option value="c">Charlie
<option value="d">Dylan
<input type="button" name="joinMyArrayButton"
onClick="joinMyArray(this.form.selectAList);">
</form>
returned error : object doesn't support this property or method
Any suggestions?
Chris J.
xt39096
e-mail:- jenkins, christopher
The Royal Bank of Scotland plc is registered in Scotland No 90312. Registered Office:
36 St Andrew Square, Edinburgh EH2 2YB.
The Royal Bank of Scotland plc is regulated by IMRO, SFA and Personal Investment
Authority.
This e-mail message is confidential and for use by the addressee only. If the message
is received by anyone other than the addressee, please return the message to the
sender by replying to it and then delete the message from your computer.
'Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not
accept responsibility for changes made to this message after it was sent.'
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html