/ Published in: JavaScript
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<script type="text/javascript">
<!--
function checkAll(wotForm,wotState) {
for (a=0; a<wotForm.elements.length; a++) {
if (wotForm.elements[a].id.indexOf("delete_") == 0) {
wotForm.elements[a].checked = wotState ;
}
}
}
// -->
</script>
<input type="checkbox" onClick="checkAll(this.form,this.checked);" />
Comments
 Subscribe to comments
                    Subscribe to comments
                
                