Code:
<script language="javascript">
fromreset()
{
myform.reset(); //will reset all the controls in ur page to initial stage.
(or)
document.myform.[textbox Id] = " "; // will clear the textbox alone
}
<form
<script language="javascript">
fromreset()
{
myform.reset(); //will reset all the controls in ur page to initial stage.
(or)
document.myform.[textbox Id] = " "; // will clear the textbox alone
}
<form
Leave a comment: