prwels
12-24-2002, 02:00 AM
I recivied this code from someone here a long time ago (about a year), and I fixed the page I had it on and now id doesn't work. I think there is supose to be a header code, but I am not sure. Here is the code as I have it:
10) Of the following, who would you rather spendtime with?<BR>
<INPUT TYPE="radio" NAME="q10" VALUE="5" CHECKED="1">a) Someone
who is smart (Add 5 points)<BR>
<INPUT TYPE="radio" NAME="q10" VALUE="2">b) Someone with good
looks (Add 2 points)<BR>
<INPUT TYPE="radio" NAME="q10" VALUE="1">c) Someone who is a
party animal (Add 1 point)<BR>
<INPUT TYPE="radio" NAME="q10" VALUE="3">d) Someone who has fun
all the time (Add 3 points)<BR>
<INPUT TYPE="radio" NAME="q10" VALUE="4">e) Someone who is very
emotional (Add 4 points)<BR>
<BR>
<input type="button" value="get score" onclick="score();"> Total
<INPUT TYPE="text" NAME="tally" VALUE="0" SIZE="20">
There are 10 questions and at the end the button is supose to add up all the points, but it doesn't work anymore. What am I missing?
Thanks a ton!
10) Of the following, who would you rather spendtime with?<BR>
<INPUT TYPE="radio" NAME="q10" VALUE="5" CHECKED="1">a) Someone
who is smart (Add 5 points)<BR>
<INPUT TYPE="radio" NAME="q10" VALUE="2">b) Someone with good
looks (Add 2 points)<BR>
<INPUT TYPE="radio" NAME="q10" VALUE="1">c) Someone who is a
party animal (Add 1 point)<BR>
<INPUT TYPE="radio" NAME="q10" VALUE="3">d) Someone who has fun
all the time (Add 3 points)<BR>
<INPUT TYPE="radio" NAME="q10" VALUE="4">e) Someone who is very
emotional (Add 4 points)<BR>
<BR>
<input type="button" value="get score" onclick="score();"> Total
<INPUT TYPE="text" NAME="tally" VALUE="0" SIZE="20">
There are 10 questions and at the end the button is supose to add up all the points, but it doesn't work anymore. What am I missing?
Thanks a ton!