submit button
parent
2dda72cfa3
commit
307e11d4c7
|
|
@ -23,6 +23,7 @@
|
|||
<form id="answer-form" action="#" onsubmit="submitAnswersForm(this); return false;">
|
||||
<div id="question-options"></div>
|
||||
<input id="answers-freeform" type="text" hidden/>
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
</body>
|
||||
<footer>
|
||||
|
|
@ -84,6 +85,10 @@
|
|||
});
|
||||
}
|
||||
|
||||
function submitAnswersForm(form) {
|
||||
console.log("TODO submitAnswersForm")
|
||||
}
|
||||
|
||||
function http(method, remote, callback, body) {
|
||||
var xmlhttp = new XMLHttpRequest();
|
||||
xmlhttp.onreadystatechange = function() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue