Displaying 2 results from an estimated 2 matches for "alonzi".
Did you mean:
aloni
2006 Apr 21
1
how-to pass other values to InPlaceCollectionEditor?
...xtURL) this.loadExternalText();
this.form.appendChild(this.editField);
this.options.callback = function(form, value) {
return "value=" + encodeURIComponent(value);
}
#######################
to:
#######################
var extra_param = this.options.extra_param; //a.alonzi
this.editField = this.cached_selectTag;
if(this.options.loadTextURL) this.loadExternalText();
this.form.appendChild(this.editField);
this.options.callback = function(form, value) {
return extra_param + "value=" + encodeURIComponent(value);//a.alonzi
}
###########...
2007 Jul 10
9
Other parameters on InPlaceEditor
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,