Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to use br tag in javascript string

var result = "First String" + " - " + "Second String" + " <br /> " + "Third String"
//and use inner html after this
 
PREVIOUS NEXT
Tagged: #br #tag #javascript #string
ADD COMMENT
Topic
Name
1+3 =