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 !!!