Hi,
I have created js validation on a html form. I want the error message to appear on the screen using div inline. This works fine but will only stay on the screen for a second.
how can i get the error message to stay on the screen when an erro ocurrs. it should be removed when the user hits the submit button again.
any help would be much apprieciated. here is some of my html and js.
Thanks.
<divclass="ErrorMsg" id="errorID">Member ID must be filled in and greater than 6 characters.</div>
if (ID.value.length <=6)
{
document .getElementById("errorID").style.display="inline";
document .getElementById("MemID").select();
document .getElementById("MemID").focus();
returnfalse;
|