Hello everyone,
I am really struggling with ajax and was wondering if someone could help me send a string as data by jquery's post method to my servlet.
My post does not work, and when I try to receive it from my servlet, the whole thing blows up :(
In an if statement, when the condition is true I have
$(document).ready(function() {
$.post("Diagnostic",dataString
});
Can someone guide me through this, please