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!

Assigning Value to APEX PAGE ITEM

868368Aug 4 2011 — edited Aug 10 2011
Hi all,

In Javascript I have assigned value to a page item P2_NAMES
$("#P2_NAMES").val(Names);               //(Names is a variable used int he script)                   
console.log($("#P2_NAMES").val());      //(to print in console of firebug)
                    
The problem is that the console displays the correct output but to my surprise the page passed a blank value to the next page when posted.

When I click "Session" Button(Apex Bar in the bottom of the screen) after I run the page - I do not see the values reflected in the table of apex page items. Meaning the value assignment hasn't taken place but the console shows the output.

I also made sure that the "Source used" for the apex page item be "Always, replacing any existing value in session state".

Masters, Help !!!
This post has been answered by Kiran Pawar on Aug 5 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 7 2011
Added on Aug 4 2011
7 comments
36,279 views