时间:2024-10-11 23:04:08
1、我们的html里有一下select下拉框,它有一个id属性。
3、在事件方法里,我们先用jquery通过id获得select下拉框控件。
5、运行页面,可以看到下拉框现在选中的是百度这一项。