Recently I had a requirement in one of my project. I am using JQuery UI Tabed view and what I required was to send an Ajax call when a tab is selected. At the start I find it tough to capture onClick or onSelect event of tabs. But later on I got the solution, I would like to share it with all of you. In below given example I put both solutions that I found to capture if a tab is clicked or selected.
Won't work on current versions of jQuery. :(
ReplyDeletebetter approach: http://stackoverflow.com/questions/3641154/jquery-trapping-tab-select-event