Hi,
I understand what you are saying but unfortunateIy I do not know enough about using forms, sending data to php, ajax etc to accomplish this. I recently implemented the following on another site i was working on.. http://www.roscripts.com/AJAX_contact_form-144.html This example however uses the mootools loibrary, but as I am using jquery for some other stuff on my current site I was wondering if it was possible to do the same kind of thing using jquery, and then make the necessary alterations to turn it into a 'recommend us/tell-a-friend form. Best Regards Chris W. Parker wrote: > > > On Monday, October 08, 2007 3:19 PM marlyred said: > >> Hi, >> >> PHP, but my pages are static html. >> >> Marlyred > > You may have already received an email about this offlist but javascript > (jQuery is javascript) cannot send emails. What it will need to do is > submit the form's data to a server side script (in your case PHP) and > have the server send the email through its MTA (probably sendmail, > possibly postfix). Static HTML doesn't have anything to do with it. The > PHP script that needs to be written doesn't necessarily need to display > anything to the user. > > The flow would go like this: > > static page with form -> form is submitted to PHP page -> PHP page sends > email and then redirects to another static page with a confirmation e.g. > "Your tell-a-friend request has been sent." > > > > HTH, > Chris. > > -- View this message in context: http://www.nabble.com/Tell-a-friend-script--tf4584690s27240.html#a13107303 Sent from the jQuery General Discussion mailing list archive at Nabble.com.