Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

onKeyUp and toUpperCase()

jacknomizOct 30 2011 — edited Oct 31 2011
Hi, I have a problem with uppercasing a field using onKeyUp.

onKeyUp="this.value = this.value.toUpperCase()"

It works and does upper case on the fly, but then when you use left arrow key to move anywhere in that field, the cursor jumps back and forth. You have to press and hold it for a second to make it go where you want, then when you press any key it overtypes and jumps back to the end of the field.

It's no drama, as onChange works ok, but you need to move focus off the field.

Has anyone experieced this behaviour?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2011
Added on Oct 30 2011
1 comment
626 views