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!

Javacript - adding a variable from APEX with a quote and getting &quot

Pete88Sep 24 2009 — edited Sep 24 2009
Hello

I am creating a value in APEX which I then used in Javascript within the header e.g.

Value1:= 'GEvent.addListener(marker,"click", function() {
map.openInfoWindowHtml(center' || count1 || ', "Hello")';

In the Javascript

&value1.

and I get

GEvent.addListener(center1,"click", function() {
map.openInfoWindowHtml("Hello");

Javascript does not seam to like this ... it likes " not "

I have tried using CHR(34) ... no joy

I run out of ideas at this time and would like some new thinking

Any ideas welcome

Thanks

Pete
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 22 2009
Added on Sep 24 2009
6 comments
444 views