Real basic multiple choice quiz in a <form>
I have a button: type="button" which works well calling my function sumScore() and filling results into text fields.
I also have the standard form "submit" button for the
<form method="post" action="doscore.asp">
I want to combine the two into one button.
I've tried including the following into my function:
document.form.method="post"
document.form.action="doscore.asp"
I have a button: type="button" which works well calling my function sumScore() and filling results into text fields.
I also have the standard form "submit" button for the
<form method="post" action="doscore.asp">
I want to combine the two into one button.
I've tried including the following into my function:
document.form.method="post"
document.form.action="doscore.asp"