笔记

来源:互联网 发布:知乎为什么有那么多985 编辑:程序博客网 时间:2024/06/05 22:53

选择下拉框中的第一个设为默认值



$("#id option:first").prop("selected", 'selected');  


1 0
原创粉丝点击