Results 1 to 3 of 3

Thread: need help with javascript!

  1. #1
    chumee
    Guest

    need help with javascript!

    i've created a form and i need the contents to be e-mailed to me when the user clicks submit. how can i do this with javascript??
    Please help!
    rupika

  2. #2
    Elite Member TonyT's Avatar
    Join Date
    Jan 2000
    Location
    Fairfax, VA
    Posts
    10,336
    You don't need javascript to email a form, you can use plain HTML:

    <form action="mailto:JOESMITH@YAHOO.COM" method="post" enctype="text/plain">
    <table width="80%" border="0" cellspacing="0" cellpadding="2">
    <tr><td width="35%" align="right">Name: </td>
    <td width="65%"><input type="text" name="name" size="15"></td></tr>
    <tr><td width="35%" align="right">Email: </td>
    <td width="65%"><input type="text" name="email" size="20"></td></tr>
    <tr><td width="35%" align="right">Comment: </td>
    <td width="65%"><textarea name="comment" cols="40" wrap="virtual" rows="10"></textarea></td></tr>
    <tr><td width="35%"> </td>
    <td width="65%"><input type="submit" name="Submit" value="Submit"><input type="reset" name="reset" value="Reset"></td></tr>
    <tr><td width="35%"> </td><td width="65%"> </td></tr>
    </table>
    </form>


    But you CAN use javascript to do it:
    http://developer.irt.org/script/email.htm
    No one has any right to force data on you
    and command you to believe it or else.
    If it is not true for you, it isn't true.

    LRH

  3. #3
    chumee
    Guest
    Thanks for the help!
    rupika

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •