js 取值,赋值
var idval = $('#id').datetimebox('getValue'); //datagrid时间框取值
var idval = $('#id option:selected').val(); //下拉列表框取值
document.getElementById("orderLevel").options[0].selected = true; //下拉列表设置默认值
var idval = document.getElementById("id").value; //文本框取值
var val =document.getElementsByName("name");
for (var i = 0, j = val.length; i < j; i++){
var nameval = val[i].value; //根据name取值
}