Mon Jul 16, 2012 11:11 pm
document.onkeydown = function (event) {
if (!event) {
event = window.event;
}
var currKCode = event.keyCode;
if (currKCode == 8 &&
((event.target || event.srcElement).tagName != "TEXTAREA") &&
((event.target || event.srcElement).tagName != "INPUT")) {
if (navigator.userAgent.toLowerCase().indexOf("msie") == -1) {
event.stopPropagation();
} else {
event.returnValue = false;
}
return false;
}
};
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.