My ajax request doesn't seem to be getting any further than being
created... I have the following code (it's in a windows sidebar gadget
which is the reason for system.gadget etc... just think IE7)

new Ajax.Request(url, {
   method: 'GET',
   asynchronus: 'true',
   onCreate:    function()
{System.Gadget.document.parentWindow.leads.innerHTML += '<br />Request
Created';},
   onLoading:   function()
{System.Gadget.document.parentWindow.leads.innerHTML += '<br />Loading
Data';},
   onInteractive:       function()
{System.Gadget.document.parentWindow.leads.innerHTML += '<br /
>Response Received';},
   onSuccess:   function()
{System.Gadget.document.parentWindow.leads.innerHTML += '<br />Parsing
Data';},
   onException:         function()
{System.Gadget.document.parentWindow.leads.innerHTML +=
'Exception...';},
   onComplete: parseData });

the weird thing is that "Request Created" is outputted twice

when i enter the url used for the request in a normal browser window
it works just fine.

any ideas? Thanks
--~--~---------~--~----~------------~-------~--~----~
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