I’m trying to build the wiki viewer, but I’m really having a difficult time getting started. I’ve spent the past two days trying to figure out how to get input from a text box without having the page refresh.
To start with, all I want to do is take the value in the text box, and print it in a
element to prove that I’m actually getting the user’s query. Every other tutorial or reference I can find assumes I want to use ajax to send form data to a php script, which seems far beyond the scope of this project.
This is the short pen I’ve written, just trying to test out the form: http://codepen.io/erk529/pen/VjKNPq