![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JQ
文章平均质量分 53
b330850038
这个作者很懒,什么都没留下…
展开
-
JQ 单选 多选 获取设置值
//inputType 1:Checkbox 2:Radio//returnType 1:字符串 2:数组function GetCheckboxOrRadio(GroupName, inputType = 1, returnType = 1) { if (inputType === 1) inputType = 'checkbox'; else inputType = 'radio'; var packageCodeList; if.原创 2021-04-01 14:05:44 · 123 阅读 · 1 评论 -
JS 选择 选择框
function setSelected(controlsName,value) { if (value) { $(controlsName).children("option").each(function () { var temp_value = $(this).val(); $(this).removeAttr("selected"); if (temp_value === value) { .原创 2021-03-31 14:08:53 · 954 阅读 · 0 评论 -
JQ DataTable刷新
initialDataTable('');function initialDataTable(response) { if ($('#table_ShowInfo').hasClass('dataTable')) { var oldTable = $('#table_ShowInfo').dataTable(); //dataTable 大写的话是不行的。。。。。坑死了~~ oldTable.fnClearTable(); //清空一下table .原创 2021-03-24 15:31:55 · 257 阅读 · 0 评论