i know i'm not first ask question, none of solutions previous questions work.
i'm building mobile application using cordova, , don't want user press hardware button because might ruin whole business scenario. need disable hardware button application in order allow user use in app buttons
thank
just fetch backbutton response , prevent default. or noting in that. more enough stop backbutton work
function ondeviceready(){ document.addeventlistener("backbutton", onbackkeydown, false); } function onbackkeydown(e) { e.preventdefault(); }
Comments
Post a Comment