复选框取值:
var ids = new Array();
$('input[name="pluginName"]:checked').each(function(){
ids.push($(this).val());
});
下拉框取值:
var db_host = $('#db_host').val();
单选按钮取值:
var exec_type = $('input[name="exec_type"]:checked').val();
复选框取值:
var ids = new Array();
$('input[name="pluginName"]:checked').each(function(){
ids.push($(this).val());
});
下拉框取值:
var db_host = $('#db_host').val();
单选按钮取值:
var exec_type = $('input[name="exec_type"]:checked').val();