The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript JQuery Widget destroy

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #31450

    I’m reading JQuery Fundamentals at the moment and there is an part “jquery widget factory”…

    In exercises, the following is written: “Don’t forget to return the table so other methods can be chained after the plugin!”

    But i really do not understand how. Example:

    $(document).ready() {

    $('table').stripe(); //all ok, just do what it should do.
    $('table').remove(); // does NOT remove the table


    How can I destroy the stripe-widget?

    Kind regards

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.