<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2462.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Carl,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> Cutting and pasting this code, I
don't have a problem getting the correct number to show up with a
question. Now, I'm using IE6, but I can't imagine changing the
structure of the language between browser versions like that (especially since
JS has been pretty standardized for a few years now).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=carlcullum@home.com href="mailto:carlcullum@home.com">carl</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:javascript@LaTech.edu">javascript@LaTech.edu</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 09, 2001 2:29 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Javascript] wrox code
question</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Sorry if this has been beaten up before, but I am
working through the Wrox Beginning Javascript book, and have one thing that I
dont understand (well, more than one thing, but only one question
here)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial>the code, from their site,
is</FONT></FONT></DIV>
<DIV><FONT size=2><FONT face=Arial></FONT></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial><snip/></FONT></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2><FONT face=Arial>this is from chapter 6, if anyone has the
book and wants to read about the intent of the page.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My question is: the number that appears in
the text box at the top of the page is correct the first time the page is
loaded, but no matter how many times I reload the number stays the same.
Different questions from the question array do appear, and an alert shows that
the value of questionNumber does change at random. </FONT></DIV>
<DIV><FONT face=Arial size=2>Q: why does the indicated number NOT change
when the page is refreshed.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This happens in IE 4 and 5.5, have not tried on a
Netscape machine.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks, looking forward to a lot of learning from
the list, hoping to contribute something useful
someday</FONT></DIV></BLOCKQUOTE></BODY></HTML>