I'm attempting to submit several parameters using Jquery post method, here is how I wrote the code. Jquery:
$(document).on("input",".li-add input", function() {
var input = $("#add-purposes").val();
if(input != "") {
$("#outter-d-1").load("/UniHealths/UNCManageDataDictionaryServlet?type=search #d-1", {
queryString:input,
resultUrl:"/dictionary/treatment",
resultSetName:"dictionary_conditions",
queryType:["CONDITION","SYMPTOM"]
});
} else {
$("#d-1").empty();
}
})