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

Reply via email to