<script type="text/javascript">
        (function() {
            new Ajax.PeriodicalUpdater('messages', '/data/messages/' +
$(roomcode).value + '.html', {
              method: 'get', frequency: 5, decay: 1,
              onSuccess: function(transport) {
                  var t = transport;
                  $(updateText).innerHTML = "Updating...";
              },
              onFailure: function(transport) {
                var t = transport;
                $(updateText).innerHTML = "Failed Updating...";
              }

            })
        })();
</script>

The code above works fine in IE7, but not in Firefox 3.  Probably some
browser differences I'm not aware of because of my limited
experience.  Any help is appreciated.

Barry
http://talistya.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to