Un poco de C#,JScript,VB, y CRM, Drupal, SQL , MSDCRM y MSDSL VBTools, developer, project lider, Social Media Activist, BlackBerry developer, telerik tools. (MCITP)
jueves, 1 de diciembre de 2011
How to load a .js File to Dynamics CRM
function load_script (url)
{
var x = new ActiveXObject("Msxml2.XMLHTTP");
x.open('GET', url, false); x.send('');
eval(x.responseText);
var s = x.responseText.split(/\n/);
var r = /^function\s*([a-z_]+)/i;
for (var i = 0; i < s.length; i++)
{
var m = r.exec(s[i]);
if (m != null)
window[m[1]] = eval(m[1]);
}
}
load_script("/_customscript/jquery-1.2.6.min.js");
load_script("/_customscript/jqModal.js");
load_script("/_customscript/jqDnR.js");
load_script("/_customscript/customscript.js");
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario