Saturday, August 27, 2011

[Rails] Re: Observer for checkbox

Jim ruther Nill wrote in post #1018844:
> On Sat, Aug 27, 2011 at 1:22 AM, Fernando Aureliano <
> mail@fernandoaureliano.com> wrote:
>
>> Hi!
>>
>> I want to put a checkbox on my data list in index view, and change his
>> value on database when I change the value of this chekbox.
>>
>> Someone know how is the good way for do it?
>>
>>
> Look at $.ajax for jquery.
>

That is the lowest level ajax function that jquery provides, and it's
only necessary if you need fine grained control over the request.
jquery provides higher level functions like load(), get(), and post()
that are appropriate for most circumstances.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate