I'm not sure I completely understand what you're looking for, but it
sounds like you're in need of using event delegation so that something
can be added and will get handled by a click handler that was defined
before it was added. Here's a good article:
http://www.learningjquery.com/2008/03/wo
Any feedback?
On Jun 3, 11:24 am, Andrew wrote:
> Hi All,
>
> I have a plug-in that adds onclick event to an element, below is a
> snippet?
>
> jQuery.fn.showBox = function(options) {
> var options = {title:"the title",content:"the content"};
>return this.each(function(){
> var obj
2 matches
Mail list logo