how to clone dom before jquerymobile starts
Hi,
I would like to clone some jquerymobile pages before jquerymobile starts up and adds it's attributes and classes.
I tried
$(document).bind("mobileinit", function(){
my_init();
});
but I think it gets called before the DOM tree is created/finished?
thanks