开发者

Strange Behaviour w/ JavaScript workers

I created a JavaScript worker. When I visit the page in the browser it tries to print the page. Strange right? You ca开发者_JAVA技巧n see the page in action here:

http://galesupport.com/fb/workers.php

Can someone please explain this to me? Thanks :)


The print() function (of the window object) in JavaScript prints the page, so it's not that suprising. Maybe you wanted document.write instead?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜