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 Not Running

user12016801Jun 30 2010 — edited Jun 30 2010
I'm new to ApEx and have a very simple javascript function to how these functions are executed. But they don't appear to be working for me.

I've created a javascript function in the HTML Header

<script language="javascript" type="text/javascript">
Function Test()
{
window.alert('This is a test...');
}
</script>

I then created two text items on a page: First Name and Last Name. On the First Name item, I created a call to this function in the HTML Form Element Attributes field: onchange="Test;"

When I run the form and enter data into the first field, First Name, by expectation is that when I tab off it will execute the OnChange event, but nothing happens.

I then created a button, and executed the function from the Action When Button Clicked by setting it up as Redirect to URL. In URL Target field I put: javascript:Test;

Again nothing. Any help would be appreciated...

I'm running IE 6 and ApEx 3.2. I've also tested this on apex.oracle.com running FireFox 3.6. Neither site works for me...

Regards,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 28 2010
Added on Jun 30 2010
7 comments
1,087 views