Check all check box through jquery.
<script type="text/javascript">
$(document).ready(function(){
$('#checkAll').click(function () {
$('input[type="checkbox"]').prop('checked',true);
});
})
</script>
<form action="deleteorederlist.php" method="post">
<input type="submit" name="delete" value="Delete">
<input type="button" class="checkAll" id="checkAll" value="check all" />
</form>
$(document).ready(function(){
$('#checkAll').click(function () {
$('input[type="checkbox"]').prop('checked',true);
});
})
</script>
<form action="deleteorederlist.php" method="post">
<input type="submit" name="delete" value="Delete">
<input type="button" class="checkAll" id="checkAll" value="check all" />
</form>