get the jquery mobile version

Today I needed to know which JQM version is available in a certain context. Maybe I wasn’t clever enough to use the right search terms. Howsoever, it took far to long to google the answer.

console.log("JQM version: " + $.mobile.version);

Okay, I could have guessed that one. 😉

Leave a Reply

Your email address will not be published. Required fields are marked *

By submitting this form, you accept the Mollom privacy policy.