<script type="text/javascript">
??? ??????????? function selectAll(checkbox) {
??? ??????????????? $('input[type=checkbox]').attr('checked',?? $(checkbox).attr('checked'));
??? ??????????? }
?</script>
?
?
<
input
type
=
"checkbox"
onclick
=
"selectAll(this);"
/>全选
<
input
type
=
"checkbox"
? />
|
<
input
type
=
"checkbox"
? />
|
<
input
type
=
"checkbox"
? />
|
<
input
type
=
"checkbox"
? />
|
<
input
type
=
"checkbox"
? />
|
<
input
type
=
"checkbox"
? />
|