Hi there,

I have multiple check bok in the html webpage.

I want to get the selected check box value usin Javascript and email that value in email body content using a href mailto.

Kindly please HELP me in this.
Thank you.

Recommended Answers

All 4 Replies

Did you read up about mailto? Example to test:

mailto:ctestier@gmail.com?subject=Important!&body=Checked.
commented: Hi there :-) Thank you for helping me. Can you please show where to insert this. I am new to Javascript. Thank you in advance. :-) +0

Hi there :-) Thank you for helping me. Can you please show where to insert this. I am new to Javascript. Thank you in advance. :-)

<input type="checkbox" value="Car"/> <label>Car</label>
<input type="checkbox" value="Bike"/> <label>Bike</label>

I want to get the value of the check box and add this value in email body.

<a href="mailto:example@test.com?&subject=Important!&body=____">Click</a>

I see Javascript tutorials are widely available for free. If I write code for you then you didn't learn Javascript. Instead you learn to get solutions from others which won't help you fix this solution if it breaks.

Invest time learning Javascript.

commented: Sure I will, But if you can give me an hint It will be help me. +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.