Acceder al texto de un email en javascript
crmForm.all.descriptionIFrame.onreadystatechange=fnStartInit;function fnStartInit() {
//alert("frame state:" + crmForm.all.descriptionIFrame.readyState);
var msg = crmForm.all.descriptionIFrame.contentWindow.document.body;
//alert("innerHTML: " + msg.innerHTML);
if (crmForm.all.descriptionIFrame.readyState=="loading") {
msg.innerHTML= msg.innerHTML.replace(/crm=false/gi,"crm=true");
//alert("innerHTML: " + msg.innerHTML);
}
}
No hay comentarios:
Publicar un comentario