JS Code not working ....Help!!!!

Status
Not open for further replies.

anuj_web

New Member
Messages
145
Reaction score
0
Points
0
Hi,,,

Code:
function emailnot()
{
if (document.frmrreg.chkemail.checked==true)
{
document.frmrreg.txtchk.value="1";
alert(document.frmrreg.txtchk.value);
}
else
{
document.frmrreg.txtchk.value="0";
alert(document.frmrreg.txtchk.value);
}


can neone point out y this code is not working ??

EDIT : found out ...

I was missing a curly brace at the end :D


SOLVED
 
Last edited:
Status
Not open for further replies.
Top