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!

Javascript code to set a field to display only (NOT DISABLED)

PaulPMar 9 2011 — edited Mar 10 2011
What is the javascript $X function to set a field to Display Only (NOT DISABLED) ?
If I use $x('P1_TBRN').disabled = true; then the value for the field in session state is set to null when the page is submitted for SAVE. I've tried it with ordinary Apex Display only item type and it works fine but I don't want to have to submit the page each time to render the item displayed as a text field or display only. I want changes in lovs to do that automatically hence, javascript.

thanks in advance
Paul P
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 7 2011
Added on Mar 9 2011
3 comments
834 views