Changing Tab's Content

2 posts, 0 answers
  1. Michele
    Michele avatar
    426 posts
    Member since:
    Jun 2009

    Posted 26 Sep 2013 Link to this post

       i'm using a TabStrip in which every Tab contains an iframe with a web page with JSON data loaded via AJAX. Inside of the frame i do include plenty of JS  and CSS files.

    I would like to dinamically change the content of the tab, but i would like to know if it's safe to simply use the remove() call on the Tab or if i need some special actions to make sure to clean everything?

    Thanks in advantage.
  2. Kiril Nikolov
    Kiril Nikolov avatar
    2596 posts

    Posted 27 Sep 2013 Link to this post

    Hello Paolo,

    The remove() method of the TabStrip basically remove the elements from the DOM using the jQuery's remove(). I do not think that any further code is needed in order to remove the tab, as the remove() completely removes it from the DOM.
    Kiril Nikolov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top