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!

Calling Ajax onSubmit

skahlertSep 29 2009 — edited Sep 30 2009
Hello guys! Hope you're fine!?

I have a little problem here as I would like to call a Javascript/Ajax function on submit.

I have a page item of type text with submit when enter is pressed.
In the element html attribute region I wrote the following code to call the function :
onSubmit="html_ShowElement(AjaxLoading);"
The code itself simply calls a function that displays a progress bar.

I already tried an alternate version
onSubmit="html_ShowElement('AjaxLoading');"
.

Nevertheless, the code is not called.

When I call the second code from a button, everything works as it should.

Do you have an idea what's wrong?

Thanks a lot for your hints!

Regards,

Sebastian
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 28 2009
Added on Sep 29 2009
3 comments
809 views