i am developing a jquery script. i am use this
"$("a").html(" alt='example' src='example.jpg> ")" to dynamically adding a "img"
tag inside "a" tag. (note, src='example,jpg has no closing single quote ).
in firefox, "img" tag showed up, but in IE and opera "img" tag did not show up, so i have spent 2 hours try to find out why? then finally found out that "closing single quote problem".
my question is, is there any tool to prevent this type of error?
by the way how can i input html tag into my post?