Search code examples
javascriptjqueryjquery-mobile

Get Jquery mobile version programmatically


Is there a way to get the Jquery mobile version programmatically?

I've found two ways for regular Jquery, but nothing for JQuery mobile:

$.prototype.jquery
$.fn.jquery

How can I ensure that some sprecific JQM version is used on the current page?


Solution

  • Thanks @Omar for his comment,

    $.mobile.version
    

    does the job.