Currently studying AJAX in my class and encountered an issue while attempting to make AJAX function. The specific problem I am facing is that the onKeyUp event of an HTML text box does not trigger any JavaScript function when running the file through Netbeans. However, everything works perfectly fine if you simply view the page, but this doesn't allow me to interact with the servlet that holds the Java code needed for AJAX.
I'm wondering if there might be a setting in Netbeans causing this particular problem?
Just a note: Trying to execute alert("test"); from the onKeyUp doesn't work when run through Netbeans, but it functions as expected when just viewed.