Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] problems with NN6-accessing the dynamic field names in Javascri


  • From: javascript@xxxxxxxxxx (Peter-Paul Koch)
  • Subject: [Javascript] problems with NN6-accessing the dynamic field names in Javascri
  • Date: Tue, 27 Nov 2001 08:45:18 +0000


>Briefly , my problem is how can I access
>the dynamic field names in Javascript with NN
>
>we are making our application compatible with NN6.
>
>  temp1=document.all.item("customerids"+count).value;

Don't use the MS DOM at all, no document.all needed. Good old document.forms 
works in all browsers:

temp1=document.forms.elements["customerids"+count].value

ppk

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp