2016-01-15 19 views

回答

3

使用disable屬性來禁用按鈕。

言下之意你的代碼應該是

$('td:last-child a:eq(0)', nRow).prop('disabled', true); 

更多參考:HTML Button disable

- 幫助:)

+0

我想這個代碼,但不工作.. datatable不是loa當使用道具時 –

0
$('td:last-child a:eq(0)', nRow).prop('disabled', true); 

$('td:last-child a:eq(0)', nRow).css('disabled', 'disabled');