Hi all,
I have a weird behavior with Element.getSelected in IE 8 beta 2 in
compatibility mode
Here is the original code
getSelected: function(){
return new Elements($A(this.options).filter(function(option){
return option.selected;
}));
}
when i check right inside the method
alert($(this).get('tag')) //select
alert($(this.options).get('tag')); //select
that's why the $A throws weird messages!
I just changed it that way
getSelected: function(){
return $(this).getElements('option').filter(function(option){
return option.selected;
});
}
--
fax : (+33) 08 26 51 94 51