> <script type="text/javascript"> > Event.observe(window, 'load',function(){ > new Login('signinForm').register(); > }, false); > </script>
Try to change it with this code. It is the common way to call any javascript function because it just wait the DOM struncture to be loaded. document.observe("dom:loaded", function() { new Login('signinForm').register(); }); --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---