Mercurial > hg > webaudioevaluationtool
comparison core.js @ 117:43c0e9dbc367
Merged. Added popup reponse questions into console
author | Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk> |
---|---|
date | Tue, 26 May 2015 14:07:51 +0100 |
parents | 44ff8bf4dec1 |
children | f84a3a2c77d3 |
comparison
equal
deleted
inserted
replaced
116:44ff8bf4dec1 | 117:43c0e9dbc367 |
---|---|
150 } else { | 150 } else { |
151 // Save the text content | 151 // Save the text content |
152 var hold = document.createElement('comment'); | 152 var hold = document.createElement('comment'); |
153 hold.id = node.attributes['id'].value; | 153 hold.id = node.attributes['id'].value; |
154 hold.innerHTML = textArea.value; | 154 hold.innerHTML = textArea.value; |
155 console.log("Question: "+ node.textContent); | |
156 console.log("Question Response: "+ textArea.value); | |
155 this.responses.appendChild(hold); | 157 this.responses.appendChild(hold); |
156 } | 158 } |
157 } | 159 } |
158 this.currentIndex++; | 160 this.currentIndex++; |
159 if (this.currentIndex < this.popupOptions.length) { | 161 if (this.currentIndex < this.popupOptions.length) { |