Tengo esto:
Código:
var head = document.getElementsByTagName('head');
css = document.createElement('link');
css.rel = 'stylesheet';
css.href = '../css/estilo.css';
css.type = 'text/css';
head.appendChild(css);
el problema es q no me funciona..q esta mal??