bug double click with td and div
Hello,
i just try a simple code.
-
<div id="test" onclick="$('#txtid').val($('#txtid').val() + 'test/');">
<table>
<tr class="montr">
<td class="montd" id="tdid" onclick="$('#txtid').val($('#txtid').val() + 'toto/');">toto</td>
</tr>
<tr>
<td>titi</td>
</tr>
<tr>
<td>tutu</td>
</tr>
</table>
</div>
<input id="txtid" />
If i use script
$("#tdid").click(), the result in input is toto/test/test/.
We have 2 click on DIV, why ?
I use Jquery 1.9.0, it's the same with jQuery 1.6.0.
Thank You
(Sorry for my bad english)