Antoniohawk
11-03-2002, 04:25 AM
I have the following in my javascript:
fletchoutput.value = ''+regS+' Regular Shortbows<br>'+regL+' Regular Longbows<br>'+oakS+' Oak Shortbows<br>'+oakL+' Oak Longbows<br>';
...
You have to fletch/string<br>
<textareaname="fletchoutput"></textarea>
after the script runs, the following appears in the textarea:
50 Regular Shortbows<br>25 Regular Longbows<br>15.151515151515152 Oak Shortbows<br>10 Oak Longbows<br>
the '<br>' appears instead of going to the next line. Why does it do that, and what can i do?
fletchoutput.value = ''+regS+' Regular Shortbows<br>'+regL+' Regular Longbows<br>'+oakS+' Oak Shortbows<br>'+oakL+' Oak Longbows<br>';
...
You have to fletch/string<br>
<textareaname="fletchoutput"></textarea>
after the script runs, the following appears in the textarea:
50 Regular Shortbows<br>25 Regular Longbows<br>15.151515151515152 Oak Shortbows<br>10 Oak Longbows<br>
the '<br>' appears instead of going to the next line. Why does it do that, and what can i do?