Hi,
I have an input text box that I want to change the type from text to password and I wrote code that works in Firefox but not in IE any suggestions? Here is the code(cut down a little for easier reading):
<form class="formstyle">
[INDENT]<input name="password" type="text" value="Enter Password" onblur="if(this.value == '') {this.value = 'Enter Password'; this.type='text';}" onfocus="if(this.value == 'Enter Password') {this.value = ''; this.type='password';}"/>[/INDENT]
</form>
Thanks!