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!

Javascript: Conversion to uppercase

ProhanJan 15 2010 — edited Feb 9 2010
I am trying to convert the value that I enter into an item to uppercase when I lose the focus.
So, on the "HTML Form Element Attributes" property of this item, I wrote:

onblur="Cap_Name();"

And I wrote this function:

function Cap_Name()
{
$x(P32_NAME_LAST).value = $x(P32_NAME_LAST).value.toUpperCase();
}

But it does not do anything when I lose the focus on this item.
Did I get the syntax wrong?
Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 9 2010
Added on Jan 15 2010
15 comments
1,889 views