Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6033109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:26:09+00:00 2026-05-23T05:26:09+00:00

I am trying to write a function to send an email when the user

  • 0

I am trying to write a function to send an email when the user clicks on “submit”.

Any ideas how to do so?

Lets say I have a

<script>
function mail()
{

    var players = document.getElementById('players').value;
    var slots = document.getElementById('slots').value;

}
</script>

and I want to generate an mail with those three vars.

Thanks all :)!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:26:10+00:00Added an answer on May 23, 2026 at 5:26 am

    “You may need to post the details to a server which would mail or you can use the mailto function to invoke default mail client on the client’s computer like

    variable1:
    variable2:

    “

    This answer above will not work for people who do not have a mail client installed on their os. the mailto feature in html will open up the users “outlook” type program to send the mail.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write a function in assembly (but lets assume language agnostic for
I'm trying to write a helper function to use in a bash script to
I have written C# code for ascx. I am trying to send an email
Im trying to send an email to multiple addresses, so I wrote function that
I'm trying to write a jQuery function to send a query string to a
I'm trying to have different html buttons that send user's to different sections of
I'm trying to write the simplest function: send a query to w3m browser and
I have been trying to write a constructor function that would make an object
I have been trying to write a script where I can post data to
Im trying to write a function for adding category: function addCategory() { $cname =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.