<input type="text" name="borderColor" id="myInput">
var myInput = document.getElementById("myInput");
document.getElementById('selector').style.myInput.name= "(style value)";
// want to use the .name attr after style here
检查了eval()
的内容,但似乎不是正确的。请帮忙。非常感谢!