jQuery UI tabs - getting URL of tab loaded with Ajax
问题 I have jQuery UI tabs using AJAX. My problem is I can't seem to retrieve the url which was loaded inside a tab. For example - I get URL of loaded tab like this var links = $("#tabs > ul").find("li a"); var selectedTab = $("#tabs").tabs('option', 'selected'); var url = $.data(links[selectedTab], 'load.tabs'); Where url is the url of currently opened tab. In the tab I have an AJAX call, which calls the same url but with some parameters, i.e. $.ajax({ method: 'GET', url = url+'?parameter=value'