Search found 4 matches
- Thu Aug 24, 2006 3:49 am
- Forum: Javascript
- Topic: Delete confirmation
- Replies: 1
- Views: 485
Delete confirmation
Hello. I have a button which call a JavaScript function: <input type="submit" name="delete" value="Delete" onClick="return confirmSubmit()" the JavaScript function : function confirmSubmit() { var agree=confirm("Are you sure you wish to continue?"); ...
- Thu Aug 24, 2006 3:00 am
- Forum: Javascript
- Topic: Check and Clear all checkbox
- Replies: 6
- Views: 1193
- Wed Aug 23, 2006 12:15 pm
- Forum: Javascript
- Topic: Check and Clear all checkbox
- Replies: 6
- Views: 1193
- Wed Aug 23, 2006 11:59 am
- Forum: Javascript
- Topic: Check and Clear all checkbox
- Replies: 6
- Views: 1193
Check and Clear all checkbox
I have two JavaScript function function checkAll() { var boxes = document.getElementsByTagName('input'); for (i = 0; i < boxes.length; i++) { if (boxes[i].type == 'checkbox') boxes[i].checked = true; document.getElementById('check_'+ boxes[i].value).style.background = '#FFFFCC'; } } function clearAl...