@Mislav - Yes I will try it with the selector.html (when I have time
to find it).

For now I was able to recreate the problem here:

<title>Selector Test</title>

<script type="text/javascript" src="prototype.js"></script>


        Element.addMethods('DIV', {
                customMethod : function(element){
                        element = $(element);
                        return element;

        Event.observe(window, 'load', function(){
                var elements = $$('.testClass');
                for(var i=0; element=elements[i]; i++){
                        alert(typeof(element.customMethod)); //alerts function 
in all
browsers but Opera


<div class="testClass"></div>
<div class="testClass"></div>
<div class="testClass"></div>


You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to