{I+=codeWee;}
[Javascript] jquery mobile disable android back button
Try this

	$(window).on("navigate", function (event, data) {
		var direction = data.state.direction;
		if (direction == 'back') {
			event.doPrevent();
		}
		if (direction == 'forward') {

		}
	});
HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.