判断浏览器的类型版本的方法.pdf

[c-sharp] view plain copy print? 1. 在 a href= /base/jquery class = replace_word title= jQuery 知识库 target= _blank style= color:#df3434; font-weight:bold; jQuery/a 判 断浏览器的类型、版本都是通过正则完成的。 2. 在 1.4 版本中: 3. function brs ( ua ) { 4. ua = ua.toLowerCase(); 5. 6. var match = /(webkit)[ //]([/w.]+)/.exec( ua ) || 7.

文档评论(0)

1亿VIP精品文档

相关文档