im just creating a website which has an iframe in it which loads a login page inside it.
i would like the username and password text boxes to clear once the submit button is pressed.
ive found a few scripts such as onclick="formname.reset()" but it clears the form before the login details are checked so it says no username and password was entered.
the form name is 'login'
thanks,
gaz
i would like the username and password text boxes to clear once the submit button is pressed.
ive found a few scripts such as onclick="formname.reset()" but it clears the form before the login details are checked so it says no username and password was entered.
the form name is 'login'
thanks,
gaz