AJAX Callback accessing page item data
gillfirFeb 5 2013 — edited Feb 7 2013Can 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