jQuery tabs

jQuery tabs


Hi folks,
I have started using jQuery tabs - and they are excellent.
But ...whilst there is an event when a tab is selected, I'd like an
event for the old tab - the one that is unselected. Is there one?
"unselected" isn't mentioned in the documentation.
What I want to do in verify the data in the tab we start at, and if it
fails verification, to disallow the tab change. So I can be sure all
the data is entered. I don't want to fail a verification later and
have to go back to another tab, it's just annoying to the user.
Is this possible? (I suppose I could disable all the tabs except the
one I'm on, then make it verify somehow and turn the tabs back on. It
might work, but it feels clunky and unwieldy - I was hoping for
something neater).
thanks
Simon