Skip to main content

Bug Tracker

Side navigation

#12872 closed bug (notabug)

Opened November 09, 2012 07:43AM UTC

Closed November 09, 2012 12:26PM UTC

Error on tr:last click after append

Reported by: alaiaron@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:
Description

<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>');

});

</script>

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?

Attachments (0)
Change History (1)

Changed November 09, 2012 12:26PM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed

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