I am trying to display items in a select list with different colors. I did this in a tabular form. I also tried it in a page item.
I tried the technique on this blog that looked like this:
SELECT color_num || color AS D
, dispatch_color_pk ||'"style="background-color:' || color AS R FROM color
I tried it defining the field in the tabular form as a select list and I tried it as a Standard Report Column using APEX_ITEM.SELECT_LIST_FROM_QUERY to build it. Same result.
If I inspect the element it looks correct:
<option value="1" style="background-color:PINK">1PINK</option>
But if I display it in HTML or do a copy/paste it looks like this:
<option value="1" style="background-color:PINK">1PINK</option>
I tried chr(34) in place of the quote, same problem.
I tried this in the latest Firefox and the latest Chrome, same problem.
Am I missing a setting to get it to just accept the quote?
We are on 4.2.2.00.11
harry