Código Javascript:
Ver original
$(document).unbind('keydown').bind('keydown', function (event) { var doPrevent = false; if (event.keyCode === 8) { var d = event.target; if (d.tagName.toUpperCase() === 'INPUT') { doPrevent = d.readOnly || d.disabled; } else { doPrevent = true; } } if (doPrevent) { event.preventDefault(); } });