Thanks once again.
This is my requirement:
I need to load a third-party bootstrap javascript onto my page, which will then cause their other js files to be loaded.
As the javascript loading takes undesirable time (due to some authentication mechanism that needs to happen before the loading), I...
I need to load a 3-rd party javascript after my page loads.
This javascript has document.write in it - which will overwrite my page if I load it after page load. I cannot change/remove the 'document.write' in the javascript - as this is not supported by the 3rd-party.
How can I load this...
Thanks for your reply!
The javascript code is obtained from an external site. So, could you please further explain how to "Parse it server-side so it has the same domain as your site".
The following is what I am trying to achieve:
Client requests a specific page, (that includes a bootstrap...
Hi all,
I need to dynamically load javascript code from a servlet, without overwriting the existing page.
I tried the following methods, but they don't seem to help:
Method 1
I tried to load it after page loads, by creating
var headID = document.getElementsByTagName("head")[0];
var newScript...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.