By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,400 Members | 1,322 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,400 IT Pros & Developers. It's quick & easy.

change text box type at runtime

P: 1
i want that only when a user start to type his text box
it will be of type password and the user will see only ********
i tried to do this


[PHP]onkeyup="if (this.alt!=this.value) this.type='password';" [/PHP]

but no luck
any idea?
thnaks in advance
peleg
Oct 14 '07 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
Welcome to TSDN!

See this thread.
Oct 14 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.