could you advise how I can place the content of the alert, show below, into a text or label box on my html page i.e. the form, please?
alert(question.guess + ' is not the right answer.\n\n' + question.first + ' ' + question.operator + ' ' + question.second + ' is ' + question.answer);
.............for example, is there a way that I could write
form.elements.CorrectAnswer.text = question.guess + ' is not the right answer.\n\n' + question.first + ' ' + question.operator + ' ' + question.second + ' is ' + question.answer



Reply With Quote




Bookmarks