Hi,

i've got something like this:

function addTo (inputField) {

        var postName = inputField+'Name';
                new Ajax.Request('ajax.php',
               {
                 parameters: {postName:name}
               });
}

my problem is that the var name of the post  is "postName" an not
"someInputName"

how can i use the contend of  "postName" to be used as name for the
post var?

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