I want to retrieve the value of a parameter on the requested JSP called with ajax. I pass the data as:
$(document).ready(function(){
$(".button-links").click(function(){
var id=this.id;
$("#result").load("validate.jsp?sem=id");
});
});
Now I want to retrieve the data stored in the variable sem in the requested JSP file validate.jsp.
Please try this code:
javascript:
validate.jsp