Hey there, having a bit of difficulty with a code
im importing a variable:
http://www.valj.nu/live/script/show.php
hej=<b> <font size=‘2’ color=’#620000’>Får man ha mobiltelefoner på lektionen?</font> <br><font size=‘1’ color=’#134553’>Ja, men de ska vara på ljudlöst</font><br><br></b>
to be displayed in an html text box, the problem is it is not importing the data.
it works if i set it to like, hej=wweeeee.
but not with what ive got there, anyone mind telling me whats wrong?
[AS]
System.useCodepage = true;
//info_txt.htmlText = true; //enabled the html by dyn textbox button thingy instead
if(!Wee){
Wee=true;
loadText = new LoadVars();
loadText.load(“http://www.valj.nu/live/script/show.php”);
loadText.onLoad = function() {
info_txt.htmlText = this.hej;
trace(this.hej);
};
}
[/AS]
so , any help is greatly appreciated =)
Thanks
//VoS