doodguy
06-02-2009, 09:03 PM
I'm working with the google maps API and have this code:
document.createTextNode("<? echo $row[businessname]; ?> <BR>HI"));
Output: Businessname
However I want to add on and have this:
document.createTextNode("<? echo $row[businessname] . "HI"; ?> <BR>HI"));
Output: Businessname
Hi
But this only shows; Businessname<BR>Hi
How do I fix this to accep the html <BR> tag among other tags like hyperlink etc?
document.createTextNode("<? echo $row[businessname]; ?> <BR>HI"));
Output: Businessname
However I want to add on and have this:
document.createTextNode("<? echo $row[businessname] . "HI"; ?> <BR>HI"));
Output: Businessname
Hi
But this only shows; Businessname<BR>Hi
How do I fix this to accep the html <BR> tag among other tags like hyperlink etc?