All,
I have the following code:
myData = new LoadVars();
myText_txt.html = true;
myData.onLoad = function() {
myText_txt.htmlText = this.myVariable;
};
myData.load("events.php");
I have a text box on my page that has an instance name of myText_txt so it should load the data from the events.php into the text field. I’ve enabled HTML on the text box and made it dynamic and multiline. When I output the PHP file the text box is blank. Here is the PHP file:
<?php
echo "&myVariable=This is some text. Here is a link: <a href=\"http://espn.com\">ESPN</a><br><br><br> Here is <img src=\"arrow2_as2\" id=\"arrow2_as2\">";
?>
Any ideas why it won’t output any of the HTML text? Thanks for the help!