jQuery question: how do you select the email to send the content of the form to?

Question by Marius: jQuery question: how do you select the email to send the content of the form to?
I’m a complete noob, and I took a javascript from the web and go it to work, BUT I don’t know how to specify to what address am I submitting the contents of a feedback box.

This is what I used: http://www.thewebsqueeze.com/web-design-tutorials/slide-out-feedback-button-for-the-side-of-a-webpage.html

I have a textarea, a submit button…. where does the text go when someone presses ‘submit’?
Thanks
@Tacetus, that works great, only it opens up an email client and what I want is for the data in the textarea to be sent to my email automatically.

It’s a feedback form, people won’t want to be bothered by another window opening.

Best answer:

Answer by Tacetus
You need to set the “action” attribute of the form. You can send the data to a PHP script with “

” or you can send it to an email address with “

“.
To enable them to avoid spam, most people would catch the data with a script before sending it on.

Give your answer to this question below!

Revisions

There are no revisions for this post.

Tags: , , , , , ,

No comments yet.

Leave a Reply