Detect firefox browser with jquery

前端 未结 4 1552
臣服心动
臣服心动 2021-02-13 11:14

I facing a problem is my css is have a some bug when firefox is lower than 2.0. I would like to detect the browser to fix my css bug.

This is my code:

$(         


        
4条回答
  •  独厮守ぢ
    2021-02-13 12:04

    You would have to do this...

    $.browser.version < '1.9'
    

    FireFox 2 should return 1.8... so this will pass.

提交回复
热议问题