Sorry about the messy first post, Ronald...
And thanks for the helpful reply, it worked..
I also found out that this can also work:
[CODE=javascript]document.write( "The sum is " + (parseInt(Num1) + parseInt(Num2)) );
[/CODE]
thank again :)
User Profile
Collapse
-
-
Need help with Javascript radio buttons (values)
Hello,
I’m new to learning JavaScript. I was trying out a simple script but I can’t
seem to make it work:
[HTML]<HTML><HEAD><TI TLE>Radio Buttons</TITLE>
<SCRIPT language=JavaSc ript>
function process()
{
1 for (i = 0; i < document.form1. Q1.length; i++)
2 {if (document.form1 .Q1[i].checked == true)
3 {Num1 = document.fo...
No activity results to display
Show More
Leave a comment: