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!

conditionally set bold property of display only page item

pam499057Mar 22 2015 — edited Mar 23 2015

How do you conditionally set a display only item as bold.

I can set the HTML Form Element Attribute:    style="font-weight:bold"

But I want to set conditionally. Was able to set the color conditionally with below syntax in before footer page process:

htp.prn('<script> $x("P102502_CTS025MT07").style.color= $x("P102502_HIDDEN_COLOR").value; </script>');

But cannot figure out how to set the bold.

I tried htp.prn('<script> $x("P102502_CTS025MT07").style.font-weight= bold; </script>');

Cannot find the correct syntax for this.

This post has been answered by Kiran Pawar on Mar 23 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 20 2015
Added on Mar 22 2015
5 comments
1,067 views