jasonsalas
IS-IT--Management
I'm trying to develop a JavaScript routine that will emulate the user manually clicking an <input type="Reset"> button.
I'm going to have the routine fire in the OnLoad event of the page, but is there a function within JavaScript that does this programmatically, and how can one access it?
Something like:
<script language="JavaScript">
function clearFields()
{
document.all.Reset();
}
</script>
Thanks for your help!
I'm going to have the routine fire in the OnLoad event of the page, but is there a function within JavaScript that does this programmatically, and how can one access it?
Something like:
<script language="JavaScript">
function clearFields()
{
document.all.Reset();
}
</script>
Thanks for your help!