HighDots Forums  

Several lines to textArea on runtime - aspx

alt.html.dhtml alt.html.dhtml


Discuss Several lines to textArea on runtime - aspx in the alt.html.dhtml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mr. x
 
Posts: n/a

Default Several lines to textArea on runtime - aspx - 09-04-2003 , 02:53 PM






Hello,
I would like to set the textArea on runtime,
but i need set more then one line.
How can I do that ?
I did :

ta.value = "ab\r\ncd"
....
and it works fine.

, but I did the same on vbscript run on aspx (asp dotnet),
but I see the \r\n in the text.
Something like this :
....
dim curr_area
curr_area = new htmlTextArea()
curr_area.rows = 10
curr_area.cols = 20
curr_area.value = "line1" & "\r\n" & "line2"
....

What is the problem in my code.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.