[Rails-spinoffs] Re: Question about Ajax.Updater with FF2

2008-03-10 Thread krassA

I receive the correct data, but the Request is never fired within the
function.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Rails-spinoffs] Re: Question about Ajax.Updater with FF2

2008-03-10 Thread T.J. Crowder

Sorry, I don't think I understand your reply.  The more detail you can
provide, the better the odds that I or someone else on the list will
be able to spot whatever's (not) going on...
--
T.J. Crowder
tj / crowder software / com

On Mar 10, 1:55 pm, krassA [EMAIL PROTECTED] wrote:
 I receive the correct data, but the Request is never fired within the
 function.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Rails-spinoffs] Re: Question about Ajax.Updater with FF2

2008-03-07 Thread T.J. Crowder

Have you watched the request/response in Firebug? Is the request being
sent correctly, with the correct data?

On Mar 7, 11:18 am, krassA [EMAIL PROTECTED] wrote:
 On 5 Mrz., 16:11, Elden [EMAIL PROTECTED] wrote: try this

  function Folien(data){
 var d = data;
 new Ajax.Updater('inhalt', 'aktion.php', { method: 'get' ,
  parameters: { l: d}});

  };

 Unfortunately this isnt the solution.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Rails-spinoffs] Re: Question about Ajax.Updater with FF2

2008-03-05 Thread Elden
try this

function Folien(data){
   var d = data;
   new Ajax.Updater('inhalt', 'aktion.php', { method: 'get' ,
parameters: { l: d}});
};

Elden

On Wed, Mar 5, 2008 at 6:48 AM, krassA [EMAIL PROTECTED]
wrote:


 Hi,

 I want to use prototype to update some content in a layer called
 inhalt.
 When a special event is fired its calling Folien with a string as
 parameter and should update the layer.
 Unfortunatyle nothing happens in FF2.

 // Handle incoming events
 function Folien(data){
new Ajax.Updater('inhalt', 'aktion.php', { method: 'get' ,
 parameters: { l: data}});
 };

 If I just write new Ajax.Updater('inhalt', 'aktion.php', { method:
 'get' , parameters: { l: data}}); somewhere outside a function its
 working.

 Does someone know the problem?
 



-- 
{a human being that was given to fly}

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---