标签:
var idval = $(‘#id‘).datetimebox(‘getValue‘); //datagrid时间框取值
var idval = $(‘#id option:selected‘).val(); //下拉列表框取值
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取值
}
标签:
原文地址:http://www.cnblogs.com/paomoshi/p/5344785.html