locked
Strange behavior when using appendTo header-area, pleace help RRS feed

  • Question

  • Using this code to place a button from the bottom bar to the header area.

      $(element).appendTo($('.msls-header-area').find('.msls-buttons-row'));

    It's working great but if I use the "navigate back" function the button keeps getting appended. The result is that the button never disappears from the header area. It works when navigating to but not back.

    How can I force the Dom to .remove the button from the header area when navigating back.

    Thanks


    Sven Elm

    Sunday, October 4, 2015 6:08 AM

Answers

All replies