how to add and remove jquery tabs dynamically?

后端 未结 4 1845
广开言路
广开言路 2021-02-07 12:36

I have an aspx page on which I have 2 static jquery tabs.Upon clicking on a button avaiable on one of these tabs,I would like to add a new tab dynamically,which gets its content

4条回答
  •  伪装坚强ぢ
    2021-02-07 13:06

    i am also adding tabs dynamically.

    mytabs.tabs('add', '/url_for_tab/', 'New tab title');
    

    works in getting that new tab added. in my case its a dynamic jsp file

提交回复
热议问题