javaspace
02-19-2003, 10:20 PM
HI:
Can someone tell me what's wrong with this simple code.
All I want is to chang the value of the submit button when I click on the check box. I call a function which is changing the submit button value.
Thanks for your help in advance.
<html>
<head>
<title>Tabbed Interface Sample</title>
<script language="javascript">
function addcnt()
{
document.frmedi214d.cmdContinue.value="Hello";
}
</script>
</head>
<body bgColor="lightgrey" );">
<FORM name ='frmedi214d' action='../../nsc1/showformdata.asp' method=post>
<Input type="checkbox" name="accept1" value="1" onFocus="addcnt"> </INPUT>
You have Accepted <INPUT type="button" name="cmdContinue" value="0 Orders" onclick="funSubmit()"> Please Click after viewing all P.O </INPUT>
</FORM>
</BODY>
</HTML>
Can someone tell me what's wrong with this simple code.
All I want is to chang the value of the submit button when I click on the check box. I call a function which is changing the submit button value.
Thanks for your help in advance.
<html>
<head>
<title>Tabbed Interface Sample</title>
<script language="javascript">
function addcnt()
{
document.frmedi214d.cmdContinue.value="Hello";
}
</script>
</head>
<body bgColor="lightgrey" );">
<FORM name ='frmedi214d' action='../../nsc1/showformdata.asp' method=post>
<Input type="checkbox" name="accept1" value="1" onFocus="addcnt"> </INPUT>
You have Accepted <INPUT type="button" name="cmdContinue" value="0 Orders" onclick="funSubmit()"> Please Click after viewing all P.O </INPUT>
</FORM>
</BODY>
</HTML>