It's really magic, I have this code:
    ...
    initialize: function() {
        ...
        document.observe("dom:loaded", function(event) {
            this.updateClient(this.initialValues);
        }.bind(this));
    }

Well, within the constructor I've put the document.observe binded to
the same instance.
So, when I execute it in IE7, sometime it works, sometime not. I have
simplified the problem to this code:

        document.observe("dom:loaded", function(event) {
            alert('hello, neng');
        }

same.

What's wrong?

Thanks
Antonio


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to