this is my javascript code:
if (username==null || isBlank(username))
{
document.getElementById("warning").innerHTML="Please Fill Out Username Box".fontcolor("red");
return false;
}
if (email==null || isBlank(email))
{
document.getElementById("warning").innerHTML="Please Fill Out Email Box".fontcolor("red");
return false;
}
if (password==null || isBlank(password))
{
document.getElementById("warning").innerHTML="Enter Password".fontcolor("red");
return false;
}
When, I click the submit button and the forms are not clicked on at all, nothing is printed. What is the problem?
this may be what u want?