Hey Brain & Justin... I just switched it around and I still could not get it
to work... this is what I did
function makeGreeting()
{
new Ajax.Updater(
'greeting',
'proto_test_script.php',   // This is the Script that is called
{
// The Method of passing the variable
method: 'GET',
// The Variable(Parameters) that is passed to proto_test_script
parameters: 'name=' + $F('name')
}
);
}


On Tue, Mar 25, 2008 at 11:42 AM, Justin Perkins <[EMAIL PROTECTED]>
wrote:

>
> On Tue, Mar 25, 2008 at 11:10 AM, Joe Harman <[EMAIL PROTECTED]> wrote:
> >  $F('greeting') = transport.responseText;
>
> $F() is a reader only, it cannot be used as a setter. After all, it's
> just a function call and you cannot assign a value to a function call
> in JavaScript (to my knowledge).
>
> Like Brian suggested, you want to assign the value using traditional
> means.
>
> -justin
>
> >
>


-- 
Joe Harman

SCP Performance Parts Warehouse
3475 High Ridge Blvd
High Ridge, MO 63049
Office : (636) 677-1320
Cell : (269) 277-0717

http://www.scpracingparts.com

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