locked
How to unload JavaScript from DOM?

    Question

  • Hi, 

    I have 2 fragments in my application. These fragments can do text sharing as sharing source.

    Problem is that any one of two fragments that is run first does text sharing perfectly but the 2nd does not. Debugger says "unknown JavaScript error"!

    I think the sharing JavaScript code resides in DOM and causes trouble. How can I unload the sharing function/code from DOM when I navigate from 1st fragment to 2nd fragment?

    Thanks in advance

    Saturday, April 14, 2012 11:11 PM

Answers