After loading the page, set the default event for the readonly box through window.onload.
$("input[readonly]").keydown(function(e) { e.preventDefault(); });
After loading the page, set the default event for the readonly box through window.onload.
$("input[readonly]").keydown(function(e) { e.preventDefault(); });