Gracias.
La idea principal seria justamente PODER CORRER un
ALGO(){} desde JAvaScript
:
Código:
function AMARILLA(){
if(document.documentElement && document.documentElement.getAttribute('xmlns') !='http://www.w3.org/1999/xhtml'){
alert('parsing errors');
}
else if(document.body && document.body.lastChild){
alert('no parsing errors');
}
}
No importa que solo sea para FF.
PEro cómo correr un JS en "página amarilla" ?
Se podría?