WebTextEdit ClientSideEvent Javascript - Can't Eval
Posted
by ismail
on Stack Overflow
See other posts from Stack Overflow
or by ismail
Published on 2008-10-12T10:13:29Z
Indexed on
2010/04/11
17:03 UTC
Read the original article
Hit count: 325
webtextedit
Hi, I urgently need help, please.
WebtextEdit ClientSideEvent execute javascript statement on mousemove event. I can successfully change the style of another object type on this WebTextEdit ClientSide MouseMove event:
document.getElementById("Object2").style.backgroundColor = '#F0F5F7';
But when I want to change the style of the WebTextEdit control:
document.getElementById("WebTextEdit1").style.backgroundColor = '#F0F5F7';
Then nothing happens.
When I execute the script on the same WebTextEdit Clientside for another object which is not a WebtextEdit:
Object2.style.border='1px solid #FFE6A0';
Then it works. But when I want to change the WebtextEdit Clientside style:
WebTextEdit1.style.border='1px solid #FFE6A0';
Then I get Error:
Can't Eval WebTextEdit1.style.border='1px solid #FFE6A0';
© Stack Overflow or respective owner