Java Script
Wednesday, October 12, 2011
Java Script Error - INVALID_CHARACTER_ERR (5) -.createElement
Error In,
document.createElement(<div id="div1">)
To Resolve This,
Create div tag separately and add attribute after created element.
var divEle=document.createElement('div');
divEle.setAttribute("id", "div1");
1 comment:
Anonymous
February 18, 2012 at 12:33 PM
It is solution I need... Thanks!
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
It is solution I need... Thanks!
ReplyDelete