137
rated 0 times
[
141]
[
4]
/ answers: 1 / hits: 75090
/ 12 Years ago, sat, september 29, 2012, 12:00:00
My problem is that I don't know how to show the innerhtml of my form.
The form is like a survey form and once you clicked the submit button, all the contents I had answered would show like a summary page...
function displayResult() {
var first = document.getElementById(first).value;
var middle = document.getElementById(middle).value;
var last = document.getElementById(last).value;
alert(oh);
var maincontent = document.getElementById(content).innerHTML;
maincontent = <p> + first;
}
More From » html