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

xiaoxiao2021-02-27  261

$('#clearBtn').live('click', function () { $('#searchUl').find('input[type="text"]').removeAttr('value'); $('#foodTypeName').removeAttr('data-id'); $("#planId option:first, #auditStatus option:first").prop("selected", 'selected'); });
转载请注明原文地址: https://www.6miu.com/read-8534.html

最新回复(0)