I don't believe this can be done. Are you just seeking to hide the field contents when focused?
Chris Lofback Sr. Web Developer TRX Integration 28051 US 19 N., Ste. C Clearwater, FL 33761 www.trxi.com > -----Original Message----- > From: Michael Wilson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 30, 2002 4:19 PM > To: CF-Talk > Subject: OT: Totally OT JavaScript Q > > > Hi all, > > Sorry for the off topic post, but I was wondering if anyone knew of a > way to change the "type" of a form input on the fly, using JavaScript. > For example; I know I can change the value of "value" thusly: > onFocus="this.value='My New Value'". I was hoping I could change the > input type from text to password, onFocus. Of course > onFocus="this.type='password'" did not work for me and I am, in all > probability, delusional. :-) Any help would be appreciated! > > Mike > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

