日期:2014-05-16 浏览次数:20372 次
?
var txt=document.getElementById('txt');
txt.className='readonly';
即用className指定即可。