最佳答案
我试了这个,但显示“未定义”。
function test() {
var t = document.getElementById('superman').value;
alert(t); }
有没有什么方法可以使用简单的 Javascript no jQuery 来获得这个值!