<input id="CheckMainCompany" type="checkbox"/>
1 $(function() {
2 $("#CheckMainCompany").change(function () {
3 if ($("#CheckMainCompany").is(':checked')) {
4
5 alert("勾选");
6 }
7 else {
8 alert("取消勾选");
9
10 }
11 })
12 })
13

1 $(document).ready(function () {
2 $("td").css("text-align", "center");
3 })
View Code
类型:<select id="znpapro" class="TUI-select">
<option value ="">全部</option>
<option value ="73">A类型</option>
<option value ="74">B类型</option>
</select>
var type = $("#znpapro option:selected").val();