|
Re: InPlaceEditor question: msg#00114lang.ruby.rails.spinoffs
I don't think "value" is a keyword in JavaScript. On 11/22/05, Brandon Dove <bcdove-HTy/uMP4gIzQT0dZR+AlfA@xxxxxxxxxxxxxxxx> wrote: > "value" is the name of the attribute created in the temporary > form used for the in place editing. I would assume that if this > was really the problem that almost everyone using this would be > experiencing similar behaviour no? > > >This is my rough guess, value is keyword on javascript. > >Try to use something else as parameter and see if it works. > > > ><p id="storyTitle"><%= storyTitle %></p> > > > ><script type="text/javascript"> > > new Ajax.InPlaceEditor('storyTitle', 'editBlog.jsp', > { > > callback: function(a) { return 'v=edit&user=<%= > >customerName %>&story=<%= storyID > >%>&editItem=storyTitle&storyTitle=' + a.value;}, }); > ></script> > > > >Ricky. > > > ________________________________________________ > Get your own "800" number > Voicemail, fax, email, and a lot more > http://www.ureach.com/reg/tag > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@xxxxxxxxxxxxxxxx > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Looking to develop for scriptaculous: 00114, Jon Tirsen |
|---|---|
| Next by Date: | Re: Looking to develop for scriptaculous: 00114, Casey O'Neill |
| Previous by Thread: | InPlaceEditor questioni: 00114, Brandon Dove |
| Next by Thread: | [ANN] Snap to grid for Draggables: 00114, Thomas Fuchs |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |