2013年8月22日 星期四

jquery-readonly


jquery-readonly html-readonly css-readonly html-text-disabled


text :    $('input[type="text"]').keypress(function(e){e.preventDefault();});
check Box : onclick=' retrun false;'

$('.recordID').keypress(function(e){    e.preventDefault();    });
$('#employee.employeeNumber').keypress(function(e){ e.preventDefault(); });
$('input[type="text"]').keypress(function(e){    e.preventDefault();    }); ## ALL Input




<input readonly />


var el=document.createElement('Input')
el.setAttribute("readOnly","true")

沒有留言:

張貼留言