Sweet, thanks!  Just for the record, this is what officially works for
me:

        var editor=new Ajax.InPlaceEditor('name' + hoursId,'changeHour.php',{
                okButton:false,
                submitOnBlur:true,
                formId:'ajaxForm',
                callback:function(form,value){
                        var request="hoursId=" + hoursId + 
"&which=name&username=" + value;
                        return request;
                },
        });
    Object.extend(editor, {
      _createEditField: editor.createEditField,
      createEditField: function() {
        this._createEditField();
                new Ajax.Autocompleter(this.editField,'name' + hoursId,
'employeeSuggestion.php',{
                                                                'minChars':1,
                                                           });

      }
    });


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