I am using prototype JavaScript library 1.7.2 in my project.But when i open in IE11 its give me below error for createElement code of JavaScript. Also not working in other browser. Only IE11 debugger show this error
code : var el = document.createElement('<input name="x">');
Error : InvalidCharacterError
It's native client-side Javascript, so it seems unrelated to PrototypeJS to me. The correct syntax is
var el = document.createElement('input');
el.name = "x";