Opened 11 years ago
Closed 11 years ago
#10887 closed bug (invalid)
bug:delete row error
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I want to delete a row in table which lay another table's td. like this: <table id="tb1">
<tr id="tr1">
<td>
<table id="tb2">
<tr id="tr2">
<td><input type="button" onclick="delel(this)" value="delete"/></td>
</tr>
</td>
</tr>
</table>
function delel(ele) {
I want to delete <tr id="tr2">... But infact, <tr id="tr1"... was deleted. how to resolve it? $(ele).parents("tr").remove();
}
Change History (2)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I want to delete a row in table which lay another table's td. like this: <table id="tb1">
</table> <script type="text/javascript"> function delel(ele) {
} </script>