views:

685

answers:

1

I have jQuery Tabs setup, but am trying to get a Tab to follow an external link.

I have tried to use the code from jQuery, but the URL still loads via Ajax instead of redirecting the browser to the url:

http://jqueryui.com/demos/tabs/#...follow_a_tab.27s_URL_instead_of_loading_its_content_via_ajax

Current code:

 $(function() {
            $('#rotate > ul').tabs({
       select: function(event, ui) {
           var url = $.data(ui.tab, 'load.tabs');
           if( url ) {
               location.href = url;
               return false;
           }
           return true;
       }
   });
        });
A: 

Hi dominicminicoopers,

I am also getting the same problem. I am getting null for url when I tried to debug. Can you help me in this?

Thanks Syed

Syed