2015-12-17 28 views

回答

0

谷歌關閉的任何元素都可以使用setAttribute()函數禁用。

/** 
* @type {Element} 
* @private 
*/ 
this.$title_ = null; // call getElementByClass('','') here; 
this.$title_.setAttribute('disabled', 'disabled'); 

這裏。$ title是一個輸入元素。

相關問題