Using a simple Prototype function that works great currently. Now I
find I need to return 3 or 4 values to this page. These values are
then passed when the page is submit.
Any example of returning multiple values would be appreciated.
<script type="text/javascript">
function run_ajax() {
var url = '/fuploadp/namertv.cgi';
var pars = 'season='+escape($F('v_season'))+ '&style=' +
escape($F('v_style')) + '&special=' + escape($F('v_special')) +
'&color=' + escape($F('v_color'));
var target = 'serverfile';
var myAjax = new Ajax.Updater(target, url, {method:'get',
parameters:pars});
}
</script>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---