So I recently decided to try learning app development with Intel XDK, and as of now I know only little bit of HTML.
I'm trying to create a basic test app that allows the user to type a message in a text box, and then click the submit button which gives an alert that displays the inputted text.
This is what I have:
Message:
<br>
<input type="text" id="message" value="">
<br>
<button type="button" value="document.getElementByID(message)" onclick=alert(message)>Generate Text</button>
But when I run the app it displays [object HTMLInputElement]
.
How can I fix this?