Hi,
I have a very simple question (not simple for me).
I want to run a javascript function on my page, but only when a tab is shown.
Well I actually have two questions. I am not using ajax tabs, so would I put my javscript in the 'load' or 'show' callback, if I only want the code to run once the tab is shown.
Depending on the answer above, what would my code look like to accomplish the following:
I want to have it like this when tab 1 is shown/loaded -->insert javscript here when tab2 is shown/loaded -->insert different javascript here when tab3 is shown/loaded -->insert different javascript here etc, etc.