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. 😉