jquery - How to show a forwarded jsp on fancybox? -
is possible displaying jsp forwarded servlet on fancybox?
following trying, doesn't work
js:
$('.showdetail').fancybox();
html:
<a class="showdetail" href="<%=request.getcontextpath()%>/employee/emp.do?empid=${empid}"> ${average}</a>
try
$('.showdetail').fancybox({ type: "ajax" });
or via html, add class fancybox.ajax
<a class="showdetail fancybox.ajax" href="<%=request.getcontextpath()%>/employee/emp.do?empid=${empid}"> ${average}</a>
note: v2.x
Comments
Post a Comment