submit button
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user