Am I not escaping this JavaScript HTML correctly? -
why javascript not getting rendered correctly when outputted html?
var innerhtml = "<div style='color:yellow;font: 14px//14px /'lucida grande/',sans-serif;'>";
am not escaping correctly?
/
should \
var innerhtml = "<div style=\"color:yellow;font: 14px/14px 'lucida grande',sans-serif;\">"
Comments
Post a Comment