dylan42 Posted September 17, 2014 Share Posted September 17, 2014 Members 10 posts 0 warning points Posted Today, 01:12 PM I have a sample HTML that I have copied from the website - I want to output the result of these two checkboxes to two more checkboxes that reflect the results . How do I do this ? <!DOCTYPE html>< html>< body> <form action="demo_form.asp" method="get"> <input type="checkbox" name="vehicle" value="Bike"> I have a bike<br> <input type="checkbox" name="vehicle" value="Car" checked="checked"> I have a car<br> <input type="submit" value="Submit">< /form> </body>< /html> so I want the results are 'Car' with the checkbox displayed and 'Bike' with the checkbox displayed Thank you Link to comment Share on other sites More sharing options...
Ingolme Posted September 17, 2014 Share Posted September 17, 2014 Do you have any knowledge of Javascript? Link to comment Share on other sites More sharing options...
dylan42 Posted September 17, 2014 Author Share Posted September 17, 2014 no - but I'm looking at JavaScript for a solution Link to comment Share on other sites More sharing options...
funbinod Posted September 17, 2014 Share Posted September 17, 2014 u r trying to learn or asking for a code?? Link to comment Share on other sites More sharing options...
Ingolme Posted September 17, 2014 Share Posted September 17, 2014 You probably should start off by reading the Javascript tutorial. Once you understand Javascript you can begin to make something. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now