user1251150
user1251150

Reputation: 13

jQuery.fn.jquery equivalent for jQuery Mobile?

jQuery.fn.jquery equivalent for jQuery Mobile?

To programmatically check the version of jQuery one can simply use "jQuery.fn.jquery".

Might there be a similar method available to return the Mobile plugin's loaded version? I am unable to find it sifting though the Object, but maybe I missed something...

Any format will do!

Upvotes: 1

Views: 114

Answers (1)

shanabus
shanabus

Reputation: 13115

Try this:

$.mobile.version

That should do it. From the current documentation page here - http://jquerymobile.com/test/docs/api/globalconfig.html, it returns:

"1.1.0-rc.1"

Upvotes: 1

Related Questions