alon
01-12-2006, 07:25 PM
Hi,
I wrote an ASP code that sends a form by e-mail.
My problem is how to connect the code to the Submit button click.
The code I currentky have sends the mail on button click, but also send it upon loading or refreshing the page. How do I prevent it ?
As I understand, the buttons OnClick event is a client event. What do I do ?
Thanks
Alon
I wrote an ASP code that sends a form by e-mail.
My problem is how to connect the code to the Submit button click.
The code I currentky have sends the mail on button click, but also send it upon loading or refreshing the page. How do I prevent it ?
As I understand, the buttons OnClick event is a client event. What do I do ?
Thanks
Alon