0

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';
4

1 回答 1

1

可能标识符“WebTextEdit1”不正确。请检查您的来源是否有错字。

于 2009-01-16T22:35:52.400 回答