<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: [Javascript] variable problem</TITLE>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=006265514-07062001>Sorry,
ignore post it is totally wrong. It was the result of brain fatigue from taking
2hrs and 25 minutes out of 2hrs and 30 minutes to complete and pass MCP
Test for w2k Pro. I've been cramming since April when I was given the
software and told to get certified by June.</SPAN></FONT></DIV>
<DIV> </DIV>
<P><FONT size=2>Bob Filipiak (Contractor)<BR>MCP </FONT></P>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Filipiak, Bob (Contractor)
<BR><B>Sent:</B> Thursday, June 07, 2001 10:11 AM<BR><B>To:</B>
'javascript@LaTech.edu'<BR><B>Subject:</B> RE: [Javascript] variable
problem<BR><BR></DIV></FONT>
<P><FONT size=2>Try document.game_assesment.row+ i +"_"+ j +.checked =
true;</FONT> </P>
<P><FONT size=2>Bob Filipiak (Contractor)</FONT> <BR><FONT size=2>MCP
</FONT></P>
<P><FONT size=2>-----Original Message-----</FONT> <BR><FONT size=2>From:
rastlore@yahoo.ca [<A
href="mailto:rastlore@yahoo.ca">mailto:rastlore@yahoo.ca</A>]</FONT> <BR><FONT
size=2>Sent: Thursday, June 07, 2001 9:57 AM</FONT> <BR><FONT size=2>To:
Javascript@LaTech.edu</FONT> <BR><FONT size=2>Subject: [Javascript] variable
problem</FONT> </P><BR>
<P><FONT size=2>Hello, I am having a problem, I am a newbie at this
javascript stuff </FONT><BR><FONT size=2>by the way. I was wondering why
the below works (more specifically I </FONT><BR><FONT size=2>am asking about
the variables "i" and "j" why it works in the eval </FONT><BR><FONT size=2>and
not in the other statement is my question) :</FONT> </P>
<P><FONT size=2>if (eval("document.game_assesment.row"+ i +"_"+ j +".checked")
== </FONT><BR><FONT size=2>true)</FONT> </P>
<P><FONT size=2>but this give me an error :</FONT> <BR><FONT
size=2>document.game_assesment.row"+ i +"_"+ j +".checked = true;</FONT> </P>
<P><FONT size=2>I have also tried this, but it gives and error as well
:</FONT> <BR><FONT size=2>document.game_assesment.row'+ i +'_'+ j +'.checked =
true;</FONT> </P>
<P><FONT size=2>The button's I am tried to access is :</FONT> </P>
<P><FONT size=2><FORM NAME="game_assesment"></FONT> <BR><FONT
size=2><INPUT type="radio" NAME="row0_0" VALUE="0"></FONT> <BR><FONT
size=2><INPUT type="radio" NAME="row0_1" VALUE="0"></FONT> <BR><FONT
size=2><INPUT type="radio" NAME="row0_2" VALUE="0"></FONT> <BR><FONT
size=2></FORM></FONT> </P>
<P><FONT size=2>Thanks for any help you could offer.</FONT> </P><BR>
<P><FONT size=2>_______________________________________________</FONT>
<BR><FONT size=2>Javascript mailing list</FONT> <BR><FONT
size=2>Javascript@LaTech.edu</FONT> <BR><FONT size=2><A
href="http://www.LaTech.edu/mailman/listinfo/javascript"
target=_blank>http://www.LaTech.edu/mailman/listinfo/javascript</A></FONT>
</P></BLOCKQUOTE></BODY></HTML>