Jump to content

.: Javascript what am I doing wrong?


Robshaw

Recommended Posts

Hello all,

I'm having an Issue with my Javascript - The code can be seen below:

FirstName:

Email:

This doesn't work! If you have any ideas - Please post them up! I'm probably doing somthing really stupid!

Edit: I then tried with PHP and that didn't work either - I'm having a great day. :rolleyes:

<?php mail('[email protected]','Subect','email); ?>

Thanks in advance guys,

Rob

Link to comment
Share on other sites

No idea to be honest, i would always use PHP! If i had to use a contact form i would use the one i posted earlier and butcher it a bit to make it do what i wanted. No point reinventing the wheel!

I would imagine the problem is you have not given the form anything to send the mail with, all you have done is create a Email Us in a form. Javacript by its self cannot send email.

http://www.javascript-coder.com/javascript-form/javascript-email-form.phtml

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Community Partner

×
×
  • Create New...

Important Information

Welcome to BRISKODA. Please note the following important links Terms of Use. We have a comprehensive Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.