dear friends,

when i execute javascript codes "document.bgColor='red';" with
EvaluateString of nsIScriptContext, function EvaluateString returns a
successful nsresult but the webpage's background color doesn't become
red. Why? need to flash something?

btw:
if i execute javascript codes "alert(' ');" after executing
"document.bgColor='red';", alert box jumps out and the webpage's
background color can become red.


--
Best Regards,

                      HE XiaoGuang

�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T
Biometrics Research Group,
Key Laboratory of Complex Systems and Intelligence Science,
Institute of Automation, Chinese Academy of Sciences,
P.O.Box 2728, Beijing 100080, China
Phone: +86-10-82628465
Email: [EMAIL PROTECTED]
�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T�T
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to