Displaying 2 results from an estimated 2 matches for "onelementevent".
2007 Aug 31
0
observe_field is not working everytime in IE 6.0
...reviously my prototype.js like this
registerCallback: function(element) {
if (element.type) {
switch (element.type.toLowerCase()) {
case ''checkbox'':
case ''radio'':
Event.observe(element, ''click'',
this.onElementEvent.bind(this));
break;
default:
Event.observe(element, ''change'',
this.onElementEvent.bind(this));
break;
}
I have added event for select box, text box and now it looks like
registerCallback: function(element...
2005 Nov 04
1
prototype EventObserver on radio option elements
Hi all,
I just started using prototype 1.3.1. I''ve successfully used
Form.Element.EventObserver on a select list and recently tried to add it
to radio options. However, I think there is a flaw in how it works with
radio options.
Radio options are a little unusual in that there are multiple distinct
elements, tied together by a common name, where changing one element
causes a