J
Jack Brewster
Using ASP 3.0. How do you assign a large block of HTML to a variable
without having to escape all your quotes, etc.
An example of what I'm asking, this code:
myvar = "<div id=""header"">" & vbCrLf &_
"Stuff in the header" & vbCrLf &_
"</div>"
would output:
<div id="header">
Stuff in the header
</div>
Whereas this code:
myvar = "<div id="header">
Stuff in the header
</div>"
Would fail because it's multilined and the quotes in the id= aren't escaped
("").
Thanks!
without having to escape all your quotes, etc.
An example of what I'm asking, this code:
myvar = "<div id=""header"">" & vbCrLf &_
"Stuff in the header" & vbCrLf &_
"</div>"
would output:
<div id="header">
Stuff in the header
</div>
Whereas this code:
myvar = "<div id="header">
Stuff in the header
</div>"
Would fail because it's multilined and the quotes in the id= aren't escaped
("").
Thanks!