Hii all .. I was wondering how to set the auto select in a multiple selet tag. First of all didinot find any document regarding creating a multiple select tag using InPlaceCollectionEditor. If any please tell me. for the time being i am making the select tag as a multiple tag like this,
//custom option onFormReady Ajax.InPlaceEditor.prototype.__enterEditMode = Ajax.InPlaceEditor.prototype.enterEditMode; Object.extend(Ajax.InPlaceEditor.prototype, { enterEditMode:function(e) { this.__enterEditMode(e); this.triggerCallback('onFormReady',this._form); } }); then using this like, onFormReady: function(obj,form) { var elem=$$('#course-inplaceeditor select'); elem.each(function(param){ param.writeAttribute('multiple'); }); } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---