SyntaxFix
Write A Post
Hire A Developer
Questions
I've found this to work:
var element1 = document.createElement("input"); element1.type = "hidden"; element1.value = "10"; element1.name = "a"; document.getElementById("chells").appendChild(element1);