1、js取元素(input)值: document.getElementById("name").value;
jquery取元素(input)值: $("#name").val();
2、select操作比较:
jquery:
var value= = $("#sCompany").val();
var text = $("#sCompany").find("option:selected").text();
js:
var obj = document.getdocumentByid("sCompany");
var value= obj.options[obj.selectedIndex].value;
var text = obj.options[obj.selectedIndex].text;