How about writing clear, coherent sentences in *valid* English?
No? Asking too much? ;)
Well you might do something like this:
Code:
<form id='some-form' method='post' action='whatever.page'>
</form>
Then use a JavaScript function to reset the form
Code:
<script type='text/javascript'>
function resetForm()
{
document.getElementById('some-form').reset();
}
</script>
Then choose how you want to reset the form. This is a matter of selecting the right event.. here's an example of clicking a link to reset the form.
Code:
<a href='javascript:void(0);' onclick='resetForm();'>Reset Form</a>
HTH!
Regards,
Rich
--
[
http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design