¡@

Home 

2014/10/16 ¤W¤È 12:05:40

jquery Programming Glossary: my_tab

jQuery Tabs - Load contents only when clicked

http://stackoverflow.com/questions/502391/jquery-tabs-load-contents-only-when-clicked

onclick even for your tab and fetching the data via ajax . Setting an onclick event Give your tab an class for example my_tab . Let's say that when the user clicks the tab you want the handle_tab_click function to fire. Here's an example of binding.. clicks the tab you want the handle_tab_click function to fire. Here's an example of binding the onclick event to your my_tab tab .my_tab .bind click handle_tab_click Your handle_tab_click function will be given an event argument which will be able.. tab you want the handle_tab_click function to fire. Here's an example of binding the onclick event to your my_tab tab .my_tab .bind click handle_tab_click Your handle_tab_click function will be given an event argument which will be able to provide..