michelledebeer
Programmer
I would like to pass quotes (""
into a function.
I have tried escaping them with \", but all I get is "undetermined string constant".
Without the quotes, all is well.
function printQuotes(html) {
alert(html);
}
...
<body onload="javascript
rintQuotes('<a href="link.htm">thelink</a>');">
Any thoughts?
// Michelle
I have tried escaping them with \", but all I get is "undetermined string constant".
Without the quotes, all is well.
function printQuotes(html) {
alert(html);
}
...
<body onload="javascript
Any thoughts?
// Michelle