Hi All,
Really appreciate your help!!!
am using jquery and ajax to load the content from server.
but my issue is when i get the response back to the parent jsp, the whole child jsp is loading in parentJsp div element. Instead i want to load only desired childJsp div element in parent jsp.
here is my code
$.ajax({
type:"POST"
url:"childJsp.jsp"
datatype:"html"
data="searchType="+searchType,
success:function(data){
$('#displayDiv').html(data);
},
error:function(XMLHttpRequest, textStatus, errorThrown){
this;
}