delete

English[d??li:t] US[di?lit]

vt.& vi. Delete

3?? ??: delete ?? ??: ?? ?? ??: ?? ?? ??: ??

caption

?? [?k?p?n] ??? [?k?p??n]

n. ??, ??, ??; ? ?? ??

vt. (??, ?? ?)? ?? ??; .. ?? ??

3?? ??: captions ??: captions ?? ??: captioning ?? ??: captioned ?? ??: captioned

?????? deleteCaption() ??? ???

??: ?? ?? ??? ?? ??? ???? ? ?????.

??: ??tableObject.deleteCaption()

??: ???? <caption> ??? ??? ?? ???? ?????. ??? ??? ???? ?? ????.

?????? deleteCaption() ??? ?

<html>
<head>
<script type="text/javascript">
function deleteCaption()
  {
  document.getElementById('myTable').deleteCaption()
  }
</script>
</head>
<body>

<table id="myTable" border="1">
<caption>My table caption</caption>
<tr>
<th>Firstname</th>
<th>Lastname</th>
</tr>
<tr>
<td>Peter</td>
<td>Griffin</td>
</tr>
</table>
<br />
<input type="button" onclick="deleteCaption()"
value="Delete caption" />

</body>
</html>

???? ?? ?

??? ????? ??? "???? ??" ??? ?????