Tabs Widget not working when HREF refers to an HTML file
Hello,
I have a minimal sample of code with just 2 tabs.
When I set the HREF of one of the tabs to be an HTML file, no content is loaded in that tab.
The other tab is just fine.
Any ideas?
Thanks
David
- <!DOCTYPE html>
- <html>
- <head lang="en">
- <meta charset="UTF-8">
- <link href="css/jquery-ui.css" rel="stylesheet">
- <script type="text/javascript" src="scripts/jquery-1.11.2.js"></script>
- <script type="text/javascript" src="scripts/jquery-ui.js"></script>
- <script type="text/javascript">
- $( document ).ready(function() {
- $('#maintabset').tabs();
- });
- </script>
- </head>
- <body >
- <div id="maintabset">
- <ul>
- <li><a href="timesheet_tab.html" ><span>Timesheet</span></a></li>
- <li><a href="#tab_project_categories" id="tab_for_project_categories">Project Categories</a></li>
- </ul>
- <div id="tab_project_categories">
- Tab for Project Categories goes here
- </div>
- </div>
- </body>
- </html>