jQuery UI ajax tabs - requests multiplying when loading links within tabs
问题 I'm using jQuery UI tabs, loading the tab content via ajax. Content may contain links which I want to load within the selected tab. To achieve that, I use this code $("#tab-div").tabs({ load: function(event, ui) { $('a:not('.targetBlank'), ui.panel).live('click', function() { $(ui.panel).load(this.href); return false; }); }); I use live() so that the links loaded after the initial load are also covered. Now, imagine a situation where you have 2 tabs. First, the user is in tab_a, which