× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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

> From: 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
in
> >the 5250).  This is because the character value in the keypress event
is
> >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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.