Object Focus problem with Safari and Chrome browsers

前端 未结 5 2128
野的像风
野的像风 2020-12-17 23:22

I have the following javascript being called to request a focus when page is loaded.

This code works 100% OK with Firefox and IE7, but Chrome and Safari do not seem

5条回答
  •  一生所求
    2020-12-17 23:53

    It seems that there is a bug in Chrome:

    "window.document.getElementById('swfID').focus() not working for flash objects"

    http://code.google.com/p/chromium/issues/detail?id=27868

    I've tried to find a workaround but I was not able to find one ;(

    Regards, Christian

提交回复
热议问题