0
我的代碼如下禁用HTML的標籤ancher:如何通過讓孩子DIV ID
<a onmouseup="some operation" class="buttonBarButtonContainer" title="">
<div name="buttonBarButton_Save" id="manualDeductionSaveButtonDisable" class="buttonBarButton">
<table style="height:20px;" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td nowrap="true">
<button class="noTransformButton ico_tb-save"></button>
</td>
</tr>
</tbody>
</table>
</div>
這裏我只有DIV ID,我想禁用父錨標記。我能怎麼做?我只能使用JavaScript,甚至沒有jQuery?
這很好,爲我工作。非常感謝你。 :) –