I would like to know the efficient way to dynamically load and unload Javascript plugins depending on options toggled on and off by the user.
Also, I was wondering if all the resources will really be freed if I simply remove the <script id="pluginId">
tag from the DOM ?
Thank you!
<script>tag, I can still access the functions which are inside that .js file.