|
Pardon my ignorance, I am a bit lost about what we are trying to achieve :
Thoroughly confused Pillai
Joe Pluta wrote:
That's a different thing, Pillai. That changes the entire field, not just the character being typed. Typically it's only done when you exit the field, at which point the whole field magically goes from lower case to upper case. You can do it on each key press as well, but it can be quite annoying to see the flash. It tends to lose the carat position as well; try using the arrow key in the following:
<HTML><HEAD></HEAD><BODY> <form> <input type=text name=joe size=50 length=50 onkeyup="this.value = this.value.toUpperCase();"> <input type=submit> </form> </body></html>
Joe
inFrom: Narayanan R Pillai
A simple example: I can dynamically change the user's
keystroke from a lower-case 'a' to an upper-case 'A' (just like we do
isthe 5250). This is because the character value in the keypress event
updatable. In Mozilla, this property is read-only. Without this capability, I have to choose between some pretty ugly workarounds.
Sorry but I do not follow. I thought the code
onkeyup="this.value = this.value.toUpperCase();"
worked on Firefox, IE, Netscape and Opera.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.