I am having an issue with a small jQuery plugin that I’ve created. In particular, I am using append() to add an extra <LI> to a <UL> list. I am also using the click() event on this list, however the items which are appended via jQuery are being ignored. Is there something that I should be aware of?
I didn’t think .click() could apply the event to newly created objects (such as writing a new li tag), but .on() can… Maybe I misread the documentation, but I thought that was one of the advantages of .on versus .click