With $.getScript I can load js files on the fly. Is it possible to \"unload\" some of these files ?
I have a ajax-based administrative panel. I have 3 sections. When
You can simply append and remove js files from head:
$('script').last().remove();`//remove last file from html file $('head').append(''); //add js file