help please correct the situation
I create a block with tabs using jquery ui tabs. The problem is that when a tab is changed, some event will work. here is a non-working live example http://prozaik.16mb.com/js/tab/
At the same time, there are many examples on the web in which this design works. link1 , link2
ps ideally, I would like to trigger several events in a certain sequence. for example, in the latter, the action I need occurs; in the first, the check for permission for this action