Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in posts by DangLe1107 only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
DangLe1107
User Profile
Collapse
Profile Sidebar
Collapse
DangLe1107
Last Activity: Apr 24 '12, 11:45 AM
Joined: Nov 29 '11
Location: Vietnam
Subscriptions
1
Subscribers
0
Activities
About
Media
Subscribed
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Source
All
DangLe1107 only
Visitor Messages Only
Advanced
Filtered by:
Clear All
new posts
DangLe1107
replied to
line breaks in createTextNode method
in
Javascript
Dec 1 '11, 04:48 AM
You can use <pre> tag to keep special characters
var _text = document.create TextNode('myTex t' + '\n' + 'myText2);
var _pre = document.create Element("pre");
_pre.appendChil d(_text);
See more
|
Go to post
Leave a comment:
Post Comment
Cancel
No activity results to display
Show More
Working...
OK
OK
Cancel
👍
👎
☕
Leave a comment: