The Reason :
I have a complex web application that consists of many iframes on a single page. It was designed this way so that the pages in the iframes could be debugged and reloaded without reloading the whole page. Unfortunately since the JSD2 implementation, iframes do not reload properly within Firebug's Script panel or the Firefox developer tools' Debugger panel.
I am wondering if I should stop waiting for the above issue to be fixed or change to a single page format and reload the HTML, CSS & JavaScript for each panel dynamically.
The problem I am having with this is reloading the <script>
elements. It seems you cannot load more code into a <script>
element that already contains a file. You must delete the element and create a new one. This results in a loss of breakpoints and a long list of defunct listings in the source list in the Debugger/Script panel.
The Question :
What is the best way to reload a revised JavaScript file in a page, when one does not wish to reload the whole page?