No-Library (pure JS), HTML, CSS, JavaScript
Simplest document ready code. Tested in IE9, Firefox, Chrome.
jQuery (edge), HTML, CSS, JavaScript
Mootools 1.4.5, HTML, CSS, JavaScript
jQuery Compat (edge), HTML, CSS, JavaScript
Testing
Can we use similar ids across different data-role='page'(s)?