Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hello,
I need some help, I am creating a webpage and want to a 'contact' form of my webpage the user can leave a message but this message to forward to an email address, I want to use ajax so that the webpage won't reload to another and to display a success message, any tutorial, webpage link welcome.

Thank you
Kyriakos

Don't want to mess with php if possible
Posted
Comments
bbirajdar 5-Nov-12 3:55am    
You cannot send email via javascript , ajax or jQuery. You need to use server side logic to send email.
Ankur\m/ 5-Nov-12 4:04am    
why not? send an ajax request using javascript/jQuery which will send mail to the passed address from the server.
bbirajdar 5-Nov-12 4:35am    
I am talking about sending 'email' via javascript .Not about sending 'request' via javascript
Ankur\m/ 5-Nov-12 5:02am    
And I am also talking about sending email using javascript/jQuery. It is very much possible and is done by sending an ajax request to server asking it to do so.
See how I used javascript to send email.
bbirajdar 5-Nov-12 6:14am    
See ? Where ????

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900