[thelist] javascript variable issue (continued)

Michael Pemberton mpember at phreaker.net
Fri Aug 31 10:37:24 CDT 2001


That is what that change is doing.

eval("document.forms['quiz']." + argname + ".value=" + thisValue + ";");

the above will result in JS trying to execute:

document.forms['quiz'].q1.value=Sofia;

You don't have a variable / object called Sofia and as such it causes
the error.

ALBIE ATTIAS wrote:
> 
> Although if I was being a perfectionist, I'd like to eliminate the "Object
> expected" error message on page3.htm
> 
> http://www.eurosimm.com/page1.htm
> 
> -----Original Message-----
> From: ALBIE ATTIAS [mailto:ALBIE at eurosimm.com]
> Sent: 31 August 2001 16:13
> To: thelist at lists.evolt.org
> Subject: RE: [thelist] javascript variable issue (continued)
> 
> Thanks Michael, that worked a treat!
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
> 
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !

-- 
Michael Pemberton
mpember at phreaker.net
ICQ: 12107010





More information about the thelist mailing list