javascript onClick and asp mail script

F

fotokard

Hi;

I have a calculating javascript to be activated onClick event on the aspx page.

The html form has about 20 text fields and works fine.

Now I would like to send the resulting fields values by email to users.

My server has a good working asp script to send email but

I do not know how to passing the values from javascript to asp email scripts.

Also I am interested in sending the values to the sql data table.

Thank you very much for your help.

Jason
 
D

Dag Sunde

fotokard said:
Hi;

I have a calculating javascript to be activated onClick event on the aspx page.
The html form has about 20 text fields and works fine.
Now I would like to send the resulting fields values by email to users.
My server has a good working asp script to send email but
I do not know how to passing the values from javascript to asp email scripts.
Also I am interested in sending the values to the sql data table.
Thank you very much for your help.

You submit the form to an .asp(x) script on the server just like
a submit button would. Then your asp(x) script can process all
your fields server side, and call you db & mail functions...

document.forms["formName"].submit();
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,778
Messages
2,569,605
Members
45,238
Latest member
Top CryptoPodcasts

Latest Threads

Top