select默认选中第一次 (清空文本框内容)

来源:互联网 发布:javascript重定向页面 编辑:程序博客网 时间:2024/05/28 22:13
$('#clearBtn').live('click', function () {    $('#searchUl').find('input[type="text"]').removeAttr('value');    $('#foodTypeName').removeAttr('data-id');    $("#planId option:first, #auditStatus option:first").prop("selected", 'selected');});
阅读全文
0 0
原创粉丝点击