[Zope] javascript problem
Garry Saddington
garry at schoolteachers.co.uk
Fri Apr 23 04:04:27 EDT 2010
Jaroslav Lukesh wrote:
> Did You have the "number" field in the hidden layer?
>
> ----- Original Message ----- From: "Garry Saddington"
> <garry at schoolteachers.co.uk>
>
>
>> I'm using the following javascript to gather phones:number values for
>> form submission.
>>
>> for (var idx = 1; idx < max; idx++) {
>> if (eval("document.forms.playlist['phones.number:records'][" + idx +
>> "].value") > 0)
>>
>>
>> Has anyone got any idea why it works fine in every browser
>> (Safari,FF,Chrome,Webkit) but not in ie8 where I get this error:
>>
>>
>>
>> Message: 'document.forms.playlist.phones.number:records.1.value' is
>> null or not an object
>
>
The form fields are dynamically created in javascript as table rows as
the user adds more options, the first row is in a hidden layer.
Garry
More information about the Zope
mailing list