Organize the Backspace operation of IE browser in the readonly box

After loading the page, set the default event for the readonly box through window.onload.

$("input[readonly]").keydown(function(e) {
             e.preventDefault();
        });

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326589438&siteId=291194637