but when I change the second line to
$('form1').observe('Select1:changed', function()
{ alert('catched') })

it catches the event and message 'catched' is appeared


On 29 сент, 01:57, buda <[EMAIL PROTECTED]> wrote:
> I want to fire an Event when one select is changed, an after that I
> want all selec-elements which is observing on this event catch that
> event
>
> $('Select1').observe('change', function()
> { this.fire('Select1:changed') })
> $('Select2').observe('Select1:changed', function()
> { alert('catched') })
>
> when I changed Select1 - Select2 doesnt react. Why?
--~--~---------~--~----~------------~-------~--~----~
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 prototype-scriptaculous@googlegroups.com
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