<script type=
"text/javascript"
>
$(
function
(){
$(
"#selectAllId"
).click(
function
(){
$(
".itemSelect"
).prop(
"checked"
,
this
.checked);
});
});
</script>