Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jul 2005
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Sending form throgh Java

    ok i want to send the form to my email but i dont want to to come up with the pop up saying that people are sending the form through email. i tryed to make my own script (did really bad bucuse i dont know what im doing ) here is my messed up script. i know this is wrong so no need to tell me i am a moron

    Code:
    <SCRIPT LANGUAGE = "JavaScript">
    function sendemail(){
    mailto:oo.fun.house.oo@gmail.com
    }
    </script>
    <form method="post">
    <input type=text name="test" size="10">
    <input type=button onclick="sendemail()">
    </form>

  • #2
    Regular Coder
    Join Date
    Mar 2005
    Posts
    114
    Thanks
    4
    Thanked 3 Times in 3 Posts
    You don't even need javascript for this... just do <form action="mailto:you@email.com">. The submit button would take care of it. But I suggest you read this article: http://lab.artlung.com/other/email-submission-stinks/

  • #3
    Regular Coder
    Join Date
    Mar 2005
    Posts
    114
    Thanks
    4
    Thanked 3 Times in 3 Posts
    And also, there is a difference between Java and Javascript. They are two completely different languages. Java is used for applications and javascript for web scripting (usually).

  • #4
    New Coder
    Join Date
    Jul 2005
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok....hey i want it so that the little popup wont come up, not so i can email it to me!


  •  

    Posting Permissions

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