1.select控件的onchange事件
<span style="font-size:18px;"><select οnchange="test()">
<option>hello</option>
<option>world</option>
</select></span>
<span style="font-size:18px;"><select id="statusId" name="statusId" class="selectpicker show-menu-arrow">
<option>hello</option>
<option>world</option>
</select></span>
事件的写法:
<span style="font-size:18px;">$("#statusId").on("change",function(event){
alert('success');
})</span>
也可以像第一条似的用那种方法;也就是说selectpicker和通常的select控件调用onchange的方式是一样的;
3.只有select控件有onchange事件,其他的没有;
4.iframe用法,为了在html里弹框,但是通过Ext弹框,但是弹出的框里面显示的内容是html页面
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>领导查询</title>
<link rel="stylesheet" href="/ui/pskh/css/reset.css">
<link rel="stylesheet" href="/ui/pskh/css/dzt.css">
<lin