Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dinamically load Javascript
#3
(11-18-2018, 07:41 AM)duffo64 Wrote: Hi All,

This question probably will make smile the experts, but I would need to access javascript functions imported from another site at session creation to interact with it.
They told me that I shoud use this <script src="http://www.theirsite.com:85/js/siteIntegration.js" type="text/javascript"></script>

This is the first time I am facing such a request, but really don't know the howto.

Thanks for everyone support

/Claudio

Why do you need to do it at Session creation? You can just put that script line in your ServerController.HTMLHeaders. By so doing you all of your sessions will be able to use it.

And get rid of this:

type="text/javascript"

It is not needed in HTML5 -- it is assumed that you are using JavaScript as your script language.
Reply


Messages In This Thread
Dinamically load Javascript - by duffo64 - 11-18-2018, 07:41 AM
RE: Dinamically load Javascript - by LorenSzendre - 11-18-2018, 09:47 PM
RE: Dinamically load Javascript - by duffo64 - 11-19-2018, 07:47 AM
RE: Dinamically load Javascript - by LaraRalston - 12-20-2018, 08:28 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)