Jquery Tabs help with onShow function

Posted by StealthRT on Stack Overflow See other posts from Stack Overflow or by StealthRT
Published on 2010-04-05T06:53:57Z Indexed on 2010/04/05 7:03 UTC
Read the original article Hit count: 518

Filed under:
|

Hey all i am trying to figiure out why my code is not triggering the "onShow" function for the tabs. Here is my code:

$(document).ready(function() {                  
    $('#tabMain > ul').tabs({ fx: {height: 'toggle'},onShow: function() {alert('onShow');} });
})

I never see the alert box pop up saying "onShow" so i do not know what i am doing wrong?

Any help would be awesome! :)

David

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui-tabs