Yep, Form.Element#setValue or a shortcut: Field#setValue
$(element).setValue(value) is easy as well, don't you think? : ) - kangax On Mar 25, 1:18 pm, "Justin Perkins" <[EMAIL PROTECTED]> wrote: > On Tue, Mar 25, 2008 at 12:04 PM, kangax <[EMAIL PROTECTED]> wrote: > > > There's a (not yet documented) #setValue method (since 1.6) > > True, but isn't it Form.Element.setValue('id, 'value') ? > > $('id').value = 'value' is still pretty easy :) > > -justin --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---