$ 0 0 I hope this helps: tabstrip1.attachSelect(function() { ... } Example:JS Bin - Collaborative JavaScript Debugging Regards