Bug Tracker

Opened 8 years ago

Closed 8 years ago

#12872 closed bug (notabug)

Error on tr:last click after append

Reported by: alaiaron@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:


<table id="activeTbl">

<tr><td><input type="text"/></td></tr> <tr><td><input type="text"/></td></tr>

</table> <script>

$("#activeTbl tr:last").click(function(){

$("#activeTbl").append('<tr><td><input type="text"</td></tr>');



I applied above code to append a row each time the last tr is clicked but it doesn't work. Row gets appended only when default last row is clicked. Is there any wrong in my code or its a bug of jquery?

Change History (1)

comment:1 Changed 8 years ago by dmethvin

Resolution: notabug
Status: newclosed

Please ask for help on the forum, this is not a bug.

Note: See TracTickets for help on using tickets.