I am having trouble with my prototype script and IE7. I am using the
latest script (1.5.1). The following code works fine in FF 2.0.0.3
and breaks in IE7:
function doUpdate() {
new Ajax.PeriodicalUpdater('content', 'info.html',
{
method: 'post',
frequency: 5,
onSuccess: function() {
$('ajaxMessage').innerHTML = '';
},
onLoading: function() {
$('ajaxMessage').innerHTML = 'updating...';
},
});
}
If I remove the onSuccess and onLoading functions, the script works
fine in IE. So what did I do wrong?
Also a live code found here:
http://www.dev.qtags.com/temp/index.html
Thanks,
Mark
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---