views:

56

answers:

2

Possible Duplicate:
Jquery Tabs- Load Contents only when clicked

Hi,

I am relatively new to jquery and web development. I am using jquery tabs to create tabs. here is the code

<div id="tabs-1"> <%@ include file="page1.jsp"%> </div> <div id="tabs-2"> <%@ include file="Page2.jsp"%> </div> <div id="tabs-3"> <%@ include file="Page3.jsp"%> </div> </div>

and javascript is

each and every page is loading before clicking the tab but i want them to load dynamically

So can you please help me get out of this mess :)

A: 

Same question was asked before. Look here please...

SimaWB
Thanks a lot :)
Praneel
+1  A: 

Look in the Jquery ui options,

it has the ability to load content via ajax (i believe you simply put a url in the href instead of just #

and it will load the content from the url

Hailwood