function test(){
        alert('adfsasdfdsaf');
}
Event.observe(window,'load',test());

every thing is ok in firefox or chrome ,but in ie8 ,an error occured
like this

网页错误详细信息

用户代理: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
3.0.30729; InfoPath.2; .NET4.0C)
时间戳: Fri, 3 Jun 2011 09:17:26 UTC


消息: 缺少对象
行: 3863
字符: 5
代码: 0
URI: http://vmck.com.cn/Windchill/netmarkets/javascript/util/prototype.js

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to