javascript - document.getElementById("xxx").name = "sample" not working in firefox but works in IE -
can on one. trying set name of element dynamically.
try using setattribute.
example:
var element = document.getelementbyid("xxx"); element.setattribute("name", "sample");
Comments
Post a Comment