Bj wrote: > So instead you access it differently. The form has a number of elements, > which can be accessed either by the order in which they occur form[0] etc, > or indexing them by name. Your checkbox is form.element['tick[]'] and so > you can check for form.elements['tick[]'][0].checked with no problem.
Thanks BJ. This makes sense for checkboxes, but does it work for a multiple selection pulldown? There is only one name - recipient[] - but it can have several values. So, if my select box name is form.elements['recipient[]', how do I tell if at least one of the selections is selected? steve ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To set a personal password send an email to [EMAIL PROTECTED] with the words: "set WDVLTALK pw=yourpassword" in the body of the email. To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
