>
> > I have used the callback, but it does not come passed no parameter
>
> How do you know?  Your code doesn't use them...

Are you sure? How to I must change the code?
the code is:
----------------------------------------------------
 var editor= new Ajax.InPlaceCollectionEditor(el, url,
 {
  ajaxOptions: {method: 'get'},
  value: ($(el).innerHTML=='Yes') ? '1' : '0',
  collection: [[0,'No'],[1,'Yes']],
  callback: function(form, value) { return 'op=pag_sca&id=' + id_pagam
+ '&id_cliente=<?=$id_user?>&id_order=<?=$_REQUEST['id']?>'},
  onBlur: function(request) {Element.show('indicator')}
});

----------------------------------------------------
I have used:
-------------------------------------------
callback: function(form, value) { return 'op=pag_sca&id=' + id_pagam
+ '&id_cliente=<?=$id_user?>&id_order=<?=$_REQUEST['id']?>'},
-------------------------------------------

perhaps it is not corrected?

>
> > the InPlaceEditor function isn't into a form.
>
> Indeed.  The form is created dynamically at runtime by IPE when you
> start editing.

mmm... ok :-)

Thank you very much


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