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!

AJAX Callback accessing page item data

gillfirFeb 5 2013 — edited Feb 7 2013
Can an AJAX callback procedure access page items on the page the callback is created on?

I have a page which pops up another page. On the popup, the user can update the items on the form and then click the Apply button. When Apply is clicked, a JavaScript function is called and items on the parent window are updated. I also need to insert a record into one table and insert/update a record in another.

So I created an AJAX callback procedure. I have the JavaScript portion working as I can get htp.prn values returned. Since the users can update the values on the popup window’s form, I figured I’d use the AJAX callback to access the form’s data instead of having to pass all of the values around, approx. 30 fields. But when I try to access the form data in the callback procedure, I’m not seeing the data. My htp.prn values are all returning null. Except for the hidden values, for some reason, which do return a value.

Thanks
Ray
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 7 2013
Added on Feb 5 2013
4 comments
754 views