[jQuery] Re: how to streamline my code with Event Delegation?

2009-04-21 Thread redsun
many thanks guys. i've learnt a lot from your replies and found uses for the scripts well beyond my initial query.

[jQuery] how to streamline my code with Event Delegation?

2009-04-16 Thread redsun
i'm sure the jQuery i'm using below is very ineffiecient. the only syntax that changes are the numbers in the names of my IDs and my variables - and even they're matching. everything else is constant. i'm told that "event delegation" is the answer, but cant rewrite the code appropriately (i tried,