Hi to all,
I have a doubt on like passing other URL parameters to InPlaceEditor
function.

For Ajax.Updater I can use "parameters:", but for InPlaceEditor (or
InPlaceCollectionEditor) I cannot use "parameters". How I make to pass
other parameters to the page that callback?

A sample code:
----------------------------------
 var editor= new Ajax.InPlaceCollectionEditor(el, url,
 {
  ajaxOptions: {method: 'get'},
  value: ($(el).innerHTML=='Yes') ? '1' : '0',
  collection: [[0,'No'],[1,'Yes]],
  parameters: 'op=pag_sca&id=' + id_pagam + '&id_cliente=<?=$id_user?
>&id_order=<?=$_REQUEST['id']?>',
  onBlur: function(request) {Element.show('indicator')}
});
----------------------------------

Thank you


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

Reply via email to