How to check if a JS file is finished loading?
<p>I need to enable a button when a JS file is finished loading. The JS file which I am using is a builder from WebSphere Portlet Factory (WPF). How can I check if the JS file is finished loading so that I can enable the button?</p>
