Eric J.
Eric J.

Reputation: 150108

Detect Whether Device Supported by jQuery Mobile

Is there a way to test whether a given device is specifically on the jQuery Mobile Supported Platforms list, ideally with the support grade (A, B, C)?

I'm aware of user agent matching (along with it's flaws). That's not what I'm after. If there were something similar to jQuery Support in jQuery Mobile, indicating that the device is a targeted mobile platform and which features are supported, that would be ideal.

Upvotes: 0

Views: 502

Answers (1)

Manse
Manse

Reputation: 38147

You can use the following to find out if browser is gradeA :

$.mobile.gradeA()

returns true / false

Upvotes: 3

Related Questions