[thelist] javascript variable issue (continued)
ALBIE ATTIAS
ALBIE at eurosimm.com
Fri Aug 31 08:45:58 CDT 2001
Thanks Hassan
I made the changes you suggested but I'm now getting a javascript error on
page 2 saying "documents.forms.quiz.q1 is not an object". What am I doing
wrong?
Also, assuming everything else is ok, what line(s) of code do I use on page3
to access my stored answers?
http://www.eurosimm.com/page1.htm
Thanks again
Albie Attias
>Hassan wrote:
>start the page with
><!-- answers from page 1 -->
> <input type="hidden" name="q1" value="">
> <input type="hidden" name="q2" value="">
> <input type="hidden" name="q3" value="">
>and change your getArgs function to set the values of q[0,1,2] to the
>arg value.
>Less important, I'd suggest making the function either void - return
>nothing, since you're not doing anything with the returned object -
>or return a boolean true or false for success/failure if you want to
>confirm the arg decode was successful (requires extra code!).
More information about the thelist
mailing list