Link to home
Start Free TrialLog in
Avatar of nickrawlins
nickrawlinsFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Howto populate a Multi-line textbox using javascript and vbCrLf

Hi,

I need to poulate a multi-line textbox using document.getElementById("blah").value or document.getElementById("blah").innerHTML

However, my source has <br> tags included in it which also get placed into the textbox.

Can someone provide an example of poupulating the textbox and keeping the carriage returns without displaying <br> tags ?


Thank you,

Nick
ASKER CERTIFIED SOLUTION
Avatar of Tomarse111
Tomarse111
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial