I am trying to load Jsp Page in Div empProfTable using JqueryAjax. and Ihve done like this, im not whether its a right way or not to do so. Please Help
$.ajax({
url: "GenerateID.jsp",
type: 'post',
success: function(msg) {
$("#empProfTable").load("${pageContext.request.contextPath}/jsp/admin/AddStaff/addempdetail.jsp?Education=1&empid=" + id);
}
And here is my jsp page
<% if(request.getParameter("Education")!=null)
{
%>
<div id="EduQual" style="margin-top: 50px;" >
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#7ce9ff">
<td width="12%"><strong>Empcode</strong></td>
<td width="10%"><strong>Education</strong></td>
</tr></table>
<% } %>
Im not getting any error either. Thanks in advance