|
InPlaceEditor form value: msg#00144lang.ruby.rails.spinoffs
As I understand it the name of the <input> element created when using the InPlaceEditor is "value". When creating an instance of Ajax.InPlaceEditor I have a callback function that looks like this (to send the value using a different parameter name): function(value) { return 'name=' + value;} Using etheral to see what's getting sent back to the server I see that the value is: [object] If I update my callback function to: function(value) { return 'name=' + value.value;} the value sent to the server is: undefined This is behaviour I've noticed using IE6 and 1.5rc5. I notice similar behaviour in Firefox *however* if my callback function looks like this: function(value) { return 'name=' + value.value.value;} The correct value is sent to the server. Anyone have any suggestions or working examples? This has been stumping me for too long. Cheers, Brandon ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Behaviour and scriptaculous: 00144, Bill Moseley |
|---|---|
| Next by Date: | draggable revert problem: 00144, Sunder |
| Previous by Thread: | Behaviour and scriptaculousi: 00144, Bill Moseley |
| Next by Thread: | Re: InPlaceEditor form value: 00144, Jon Tirsen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |