Ian
2012-02-02 21:38:07 UTC
I have been trying for hours to restore the default text value if "onchange" the text field is still emtpy... Please help?! Here is my html:
...and here is my Javascript:
function clearTextField(text)
{
text.value = "";
}
function checkIfBlank(text)
{
if(text.value == "")
text.value = this.value;
}
Or are you not allowed to call 2 different Javascript events in the same tag?