I have two text boxes for a login page, they have a value in them as default, when a user clicks on one of the text boxes I want the default value to disappear and if the user doesn't enter anything and clicks away I want the default value to come back but if the user enters something then that value remains in the text box.
I was thinking that the onFocus and onBlur events would be the way to do it?
Anyone any tips on how to go about this?
I was thinking that the onFocus and onBlur events would be the way to do it?
Anyone any tips on how to go about this?
Comment