|
All Scripts JavaScripts ASP Scripts Other Scripts
Select
multiple text fields by clicking on the button.
Would you like to know how to
select a multiple checkboxes or radiobuttons?
Just follow the above links.
|
|
|
HEAD Section:
<script language="JavaScript">
function Fill() {
document.form1.textfield.value= 'Thank you for visiting';
document.form1.textfield2.value='House Of Scripts';
}
</script>
|
|
BODY Section:
<form name="form1" method="post" action="">
<input type="text" name="textfield">
<input type="text" name="textfield2">
<input type="button" name="Button" value="Fill" onClick="Fill()">
</form>
|
|