I am firing the following event when a button is clicked...
onclick="new Ajax.Updater('div123', '/gotit.php',{asynchronous:true,
evalScripts:true }); return false;"
It all works fine, but I now need to add in some form fields when the
button is clicked. There are two form fields, 'email' and 'zipcode'
which i want to submit to /gotit.php when the button is clicked.... I
can't figure out how to do it though...
Do I want to change it to this:
onclick="new Ajax.Updater('div123', '/gotit.php'+ value, { ... },
{asynchronous:true, evalScripts:true }); return false;"
Thanks for any help....
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---