|
All Scripts JavaScripts ASP Scripts Other Scripts
Select
Multiple RadioButtons by clicking on the button.
Would you like to know how to
select a multiple checkboxes or textfields?
Just follow the above links.
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() {
form1.rb1.checked=true;
form1.rb2.checked=true;
form1.rb3.checked=true;
}
</script>
|
|
BODY Section:
<form name="form1" method="post" action="">
<input type="radio" name="rb1" value="rb1">
<input type="radio" name="rb2" value="rb2">
<input type="radio" name="rb3" value="rb3">
<input type="button" name="Button" value="Fill" onClick="Fill()">
</form>
|
|