SyntaxFix
Write A Post
Hire A Developer
Questions
You set an element's id by setting its corresponding property:
myPara.id = ID;