views:

73

answers:

1

Because IE won't do document.getElementById(ID).setAttribute('type','password') I've re-engineered the way the password field woirks on this site:

http://devdae.dialanexchange.com/Default.aspx

so it works in accordance with this idea:

http://www.folksonomy.org/2009/01/12/changing-input-type-from-text-to-password-in-internet-explorer-hack/

It works fine in IE8 and FF3. It breaks in IE7 just as you click into the password field. I'm now tearing my hair out. Can anyone give me a clue what's wrong as IE7's diagnosis is just "Object expected, code 0"?

A: 

You can enable script debugging in IE7 to get a more meaningfull error message, however you get the same error in Firefox and probably other browsers, Firebug in firefox is giving me the following error.

You have the error 'passwordChange1 is not defined'

murdoch
Sorry, misuploaded the javascript file. It's all working now! (hangs head in shame [again!])
Craig