[Zope] javascript problem

Garry Saddington garry at schoolteachers.co.uk
Thu Apr 22 18:02:56 EDT 2010


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

Any help appreciated, but I am not surprised that ie errors, it usually 
does.

Garry



More information about the Zope mailing list