jQuery UI Widgets › Forums › Navigation › Tabs › How to display HTML page in tab content
Tagged: javascript tabs, jQuery Tabs, jqwidgets tabs, Tabs
This topic contains 1 reply, has 2 voices, and was last updated by Hristo 7 years, 11 months ago.
I am following the example but it will not load page as html. Shows it as text.
var loadPage = function (url, tabIndex) { $('#content' + tabIndex).html(url); }); loadPage('delivery.htm', 1); $('#jqxTabs').on('selected', function (event) { var pageIndex = event.args.item + 1; loadPage('pages/MOW' + pageIndex + '.htm', pageIndex); });
Hello CXXXV,
I tested the mentioned scenario and it seems to work fine. Hint: I would suggest you to clear the cache of the browser.
Best Regards, Hristo Hristov
jQWidgets team http://www.jqwidgets.com
You must be logged in to reply to this topic.