I am trying to show to alert When a row of my table is modified but esta not work. Here my code . Thanks!
$(document).ready(function(){
$("#table").change(function(){
alert("The text has been changed.");
});
});
<table border="3" id='table' >
<thead>
<tr>Heading 1</tr>
<tr>Heading 2</tr>
</thead>
<tbody>
<tr>
<td contenteditable='true' id='bebe'>a</td>
<td contenteditable='true'>a</td>
</tr>
<tr>
<td contenteditable='true'>a</td>
<td contenteditable='true'>a</td>
</tr>
</tbody>
</table>