javascript - InnerHTML while alerting it alerts with double quotes in firefox but not in IE -


i make innerhtml data , store in database. when tried in firefox coming proper quotes(" or ') attributes. in ie not getting quotes(" or ') attributes. browser issue? answer this.

thanks

yes, browser issue, in that's how ie it. note quotes aren't mandatory attributes in html, doesn't make ie's output invalid. if want xhtml you'll have create walking dom.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -