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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -