2008/11/6 Alex Mcauley <[EMAIL PROTECTED]>:
> James. I would suggest running a different listener on the 'li.clickinc'
> elements ... try something like this ..
>
> Event.observe(window,'load',function() {
>    $$('li.clickinc').invoke('observe','click',function(e) {
>
>         $('dmain').update('Updated text after clicking on '+this.id);
>
>    });
>
> });
>
> Put it in the browser head of the page you want to watch ....

That won't work though will it, since none of the li.clickinc elements
will be available to invoke at that point? I have tried the above as a
test when I included the li.clickinc statically in the page and that
worked fine.

-- 
James Hoddinott

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to