1

如何检测浏览器是否支持jQueryMobile

我正在考虑使用Modernizr,但我不知道要检测哪些功能。

4

2 回答 2

3

文件:

于 2011-06-03T16:05:34.460 回答
1

您可以检查浏览器等级。

if($.mobile.gradeA()){
   alert("Supports");
}else{
   alert("Does not support");
}
于 2012-09-08T11:10:37.033 回答