Background: The Cordova phonegap 2.2 application running on Android allows listening to the backbutton event
document.addEventListener(\"bac
$(document).on('click', '#map a[target="_blank"]', function(e){
e.preventDefault();
var url = $(this).attr('href');
if( /Android/.test(navigator.appVersion) ){
navigator.app.loadUrl(url, { openExternal:true });
}else{
window.open(url, '_system');
}
});
#map
- google maps container
Work both for android and ios.