Hi
I have created a tabbed interface using jQuery using the code below
Offcourse all the external script files have been included, and the tabs are working fine, what i want to do is
I have a fourth html file named p4.html, also p3.html contains a link to this file. i want to replace the content in the third tab with p4.html (when a link in p3.html file is clicked). Please help
I have created a tabbed interface using jQuery using the code below
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript"> $(document).ready(function(){ $('#tabs').tabs({ remote: true }); }); </script> </head> <title>Ajax Tabs</title> <body> <h2>Ajax tabs</h2> <div id="tabs"> <ul> <li><a href="p1.html"><span>One</span></a></li> <li><a href="p2.html"><span>Two</span></a></li> <li><a href="p3.html"><span>Three</span></a></li> </ul> </div> </body> </html>
I have a fourth html file named p4.html, also p3.html contains a link to this file. i want to replace the content in the third tab with p4.html (when a link in p3.html file is clicked). Please help
Comment