|
All Scripts JavaScripts ASP Scripts Other Scripts
Select
Multiple Checkboxes by clicking on the button.
Do you want to see how to change
value for checkboxes or radiobuttons?
Just follow the above links.
|
|
|
HEAD Section:
<script language="JavaScript">
function Fill() {
document.form1.checkbox.checked=true;
document.form1.checkbox2.checked=true;
document.form1.checkbox3.checked=true;
}
</script>
|
|
BODY Section:
<form name="form1" method="post" action="">
<input type="checkbox" name="checkbox">
<input type="checkbox" name="checkbox2">
<input type="checkbox" name="checkbox3">
<input type="button" name="Button" value="Fill" onClick="Fill()">
</form>
|
|