Javacript - adding a variable from APEX with a quote and getting "
Pete88Sep 24 2009 — edited Sep 24 2009Hello
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