Cita:
Iniciado por Tecktonikrazy Por que no me funciona esto:
Código Javascript
:
Ver originalfunction getScripts(){
var scriptDiv = document.getElementById('scriptContainer');
scriptDiv.innerHTML =
'<script src="http://miweb.com/script1.js"></script>' +
'<script src="http://miweb.com/script2.js"></script>' +
'<script src="http://miweb.com/script3.js"></script>' +
'<script src="http://miweb.com/script4.js"></script>';
}
window.onload = getScripts();
Código Javascript
:
Ver originalfunction getScripts(){
var scriptDiv = document.getElementById('scriptContainer');
scriptDiv.innerHTML =
'<script src="http://miweb.com/script1.js"></script>' +
'<script src="http://miweb.com/script2.js"></script>' +
'<script src="http://miweb.com/script3.js"></script>' +
'<script src="http://miweb.com/script4.js"></script>';
}
window.onload = getScripts;
Saludos (: