http://www.jsfiddle.net/AURVh/7/

On Tue, Aug 24, 2010 at 3:49 PM, Rolf -nl <[email protected]> wrote:

> If I want to use event delegation with a variable relay
> "selector" (like when it's set as an option in a Class), how can I do
> this?
>
> See: http://www.jsfiddle.net/AURVh/4 (works)
> And: http://www.jsfiddle.net/AURVh/6 (doesn't work: dynamic class
> options as "selector")
>
> Error in fiddle /6 throws error (see console)
> missing : after property id
> [Break on this error] 'click:relay('+this.options.selector+')':
> this.doClick\n
>
> Is there a workaround?

Reply via email to