Bug Tracker

Opened 10 years ago

Closed 10 years ago

#12301 closed bug (invalid)

It seems radio selector has small problem.

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:


I try to append() a radio input to a table.After that I found the radio event can not trigge, for example: I try to use to code: $('input:radio').click(function() { alert('good'); }); This code could work when html page have the radio element, but after dynamically append radio element to the page, It seems the event could not work ! And I try to use click, focus, change, select event, but none of them working.

Change History (1)

comment:1 Changed 10 years ago by Rick Waldron

Resolution: invalid
Status: newclosed

Use http://api.jquery.com/delegate/ or the delegate form of "on"

Note: See TracTickets for help on using tickets.