Hi,
when I understand your question correctly, then you are asking for how to load dynamically other scripts, right?
That would be possible either via:
- XMLHttpRequest and eval()
or via dynamically creating and adding <script> elements (and using the onload callback) - e.g.
- var script = document.createElement("script")
- script.onload = ...
- script.src = ...
- document.body.appendChild(script)
Best regards,
Klaus