{I+=codeWee;}
[Javascript] jquery: Disable back space key press to navigate to back
		<script type="text/javascript">

			$(document).keydown(function(e) {
				var doPrevent;
				if (e.keyCode == 8) {
					var d = e.srcElement || e.target;
					if (d.tagName.toUpperCase() == 'INPUT' || d.tagName.toUpperCase() == 'TEXTAREA') {
						doPrevent = d.readOnly || d.disabled;
					}
					else
						doPrevent = true;
				}
				else
					doPrevent = false;

				if (doPrevent)
					e.preventDefault();
			});
		</script>
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.