Check some JQM API here…( haven’t test yet )
http://api.jquerymobile.com/orientationchange/
Orientationchange Timing
The timing of the orientationchange event with relation to the change of the client height and width is different between browsers, though the current implementation will give you the correct value for event.orientation derived from window.orientation. This means that if your bindings are dependent on the height and width values you may want to disable orientationChange altogether with $.mobile.orientationChangeEnabled = false to let the fallback resize code trigger your bindings.
http://jquerymobile.com/demos/1.2.0/docs/api/globalconfig.html
You can override default settings by extending the $.mobile object using jQuery’s $.extend method.
$(document).bind("mobileinit", function(){
$.extend( $.mobile , {
foo: bar
});
});