Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

display from right to left 1

Status
Not open for further replies.

jianbo

Programmer
Dec 19, 2001
78
US
How can display from right to left when I input some text in a textbox. Such as I input "a","b","c" in order in a textbox, while it display like "cba" ?
Thanks.
 
<input onKeyPress=&quot;this.value = String.fromCharCode(window.event.keyCode) + this.value; return false&quot;>

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

fart.gif
 
That's exactly what I want. Thanks mwolf00!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top