Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

html textboxes

Status
Not open for further replies.

2cxc

Programmer
Aug 29, 2003
245
0
0
CA
Greeting TEKers, i can't seem to get this working correctly. I have a dynamic text box called info and i'm using server side values and am tring to write them to the text box. The varibles are being written to the text box but so is the html code... like so: <b>persian</b><br><font color=&quot;#00ffff&quot;>poodle</font><br><br>

this is the actions for the frame:

cat_array = output.split(&quot;,&quot;);
dog_array = eoutput.split(&quot;,&quot;);

cat_length = cat_array.length;
dog_length = dog_array.length;

for (i=0; i<cat_length; i++) {
info.htmlText += this[&quot;cat&quot;+i].info = '<b>' + cat_array + '</b><br><font color=&quot;#00ffff&quot;>' + dog_array + '</font><br><br>';
}


Please help me solve this, can't figure it out, I'm sure its simple.
 
OK, don't mark my words, but I don't know if you can have
Code:
info.htmlText
Code:
 +=
Code:
//whatever
. I might be wrong. Also, check if your textbox has the &quot;<>&quot; button on in the property panel. This is a very common mistake, I do it all the time.

FLASHfreak :)
- The Flash Experience
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top