I'm having the following Jquery code:
$('div:jqmData(wrapper="true"):jqmData(ex="true") div:jqmData(role="page")').each(function(index) {
// do sth
});
I want to replace $('div:jqmData(wrapper="true") with my variable page.
Question:
How do I get the above syntax working with my variable page? This is not really working:
page.is(':jqmData(ex="true")').find('div:jqmData(role="page")').each(function() {
// do sth
});
Thanks for some inputs!