[Proto-Scripty] Re: Observing elements not working...

2009-07-16 Thread david
Hi lun.ashis, One thing, because code seems to be good, is that webkit can't attach an event on an hidden element. But I don't know if it's still true for version 4. If it could help. -- david On 16 juil, 10:40, lun.ashis ashis@gmail.com wrote: Hi guys I am facing problem with Safari

[Proto-Scripty] Re: Observing elements not working...

2009-07-16 Thread Rick Waldron
are you adding the observer after the dom is loaded? document.observe('dom:loaded', function () [ $('btn-link-cancel').observe('click',function(){ RedBox.close(); }); }); On Thu, Jul 16, 2009 at 7:30 AM, david david.brill...@gmail.com wrote: Hi lun.ashis, One thing, because code seems

[Proto-Scripty] Re: Observing elements not working...

2009-07-16 Thread lun.ashis
Thx guys... Actually problem was with the duplicate parent element. I fix the problem and it's working now. Since RedBox clones the element. Anyway thx for your help, i came to know new things from u guys. Cheers On Jul 17, 3:46 am, Rick Waldron waldron.r...@gmail.com wrote: are you adding