I'm trying to create this:

Droppables.add("quotes_table", {
     onDrop:function(element){
         new Ajax.Updater('quotes_table', '/carrier_selections/add', {
             asynchronous:true, evalScripts:true,
             parameters:'id=' + encodeURIComponent(element.id) +  
';quote_id=5'
         })
     }
})

with this rails call:

<%= drop_receiving_element "quotes_table",
        :update => "quotes_table", :url => { :action => :add } %>

How do I modify the rails call to add the ";quote_id=5" portion?

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

Reply via email to