Hi,

I have textboxes and combos in a form with submit and clear button. When i submit all values in textboxes and combos remain same. How can i clear them when i click on clear button. Or reload the page?

Thanks

You can use a reset button.

<input type="reset" />

Alternatively you could use JavaScript:

document.forms[0].reset()

Hi..
insert BUTTON where u want...
and it place with in the form(including all textboxes which u want to clear)..
after select button & go to properties..choose RESET radio button.....
i hope its working...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.