Iam using an Updater function to update a block of html. It looks
like this
function getCloseout() {
var url =
''<cfoutput>#closeoutAjaxEvent#</cfoutput>'';
var myAjax = new Ajax.Updater(''spotlight'',url, {
method: ''get''
});
}
This works great in Firefox but in IE6 or IE7 no updates occur.
However The onSuccess callback does fire.
Anyone run into this type of problem or have any suggestions?
Thanks
Craig Heneveld
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---
Hi Craig, Nothing looks wrong with your code, on first glance. What does the code look like once it''s been through Cold Fusion (I''m guessing that''s what those <cfoutput> tags are?) Can you view-source for the page, and tell us what the browser sees? Thanks, Dave On Tuesday 19 June 2007 22:53, craig-uXAR3TuZYKeakBO8gow8eQ@public.gmane.org wrote:> Iam using an Updater function to update a block of html. It looks > like this > > function getCloseout() { > > var url = ''<cfoutput>#closeoutAjaxEvent#</cfoutput>''; > var myAjax = new Ajax.Updater(''spotlight'',url, { > method: ''get'' > }); > } > > This works great in Firefox but in IE6 or IE7 no updates occur. > However The onSuccess callback does fire. > > Anyone run into this type of problem or have any suggestions? > > Thanks > > Craig Heneveld > > >-- Author: Prototype & Scriptaculous in Action, Ajax in Practice, Ajax in Action --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
HI Dave,
I switched up my code and am using xml now. It works in both browsers.
I think the problem before was in the code that was generating the
information that was inserted into the html. It all works now...
Thanks
Craig
----- Original Message -----
From: "Dave Crane"
<dave-Sy7q136SasSXmMXjJBpWqg@public.gmane.org>
To: <rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Sent: Tuesday, June 19, 2007 7:46 PM
Subject: [Rails-spinoffs] Re: Updater
>
> Hi Craig,
>
> Nothing looks wrong with your code, on first glance.
>
> What does the code look like once it''s been through Cold Fusion
(I''m
> guessing
> that''s what those <cfoutput> tags are?) Can you view-source
for the page,
> and
> tell us what the browser sees?
>
> Thanks,
>
> Dave
>
>
> On Tuesday 19 June 2007 22:53,
craig-uXAR3TuZYKeakBO8gow8eQ@public.gmane.org wrote:
>> Iam using an Updater function to update a block of html. It looks
>> like this
>>
>> function getCloseout() {
>>
>> var url =
''<cfoutput>#closeoutAjaxEvent#</cfoutput>'';
>> var myAjax = new Ajax.Updater(''spotlight'',url, {
>> method: ''get''
>> });
>> }
>>
>> This works great in Firefox but in IE6 or IE7 no updates occur.
>> However The onSuccess callback does fire.
>>
>> Anyone run into this type of problem or have any suggestions?
>>
>> Thanks
>>
>> Craig Heneveld
>>
>>
>>
> --
> Author: Prototype & Scriptaculous in Action, Ajax in Practice, Ajax in
> Action
>
> >
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---