Yes this 'change' won't work on IE, so is submit / reset (... and more
of witch I can't remember right now)
I was thinking about a hacks for that, to 'simulate' such events: you
can do something like this ->
<pre>
$('tabRG_DynamicContainer').delegate('select', 'click', function(e){
var value = this.getValue();
if (Object.isUndefined(this._value)){
this._oldValue = value;
} else if (this._oldValue != value){
this._oldValue = value;
console.log('changed'); // or fire your own function
}
});
</pre>
This approach have some downfalls - change event is fired no only on
click events, and stopDelegating will not work well. But is goot
stating point, I think :)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---