Ruby on Rails Sunday, April 2, 2017

http://api.jquery.com/checkbox-selector/

On 04/02/2017 01:24 AM, fugee ohu wrote:
> Can I treat radio buttons the same as other fields in my form for the
> purposes of jquery script
> Can I use
> $("#example").change(function(e)
> if (e.target.value=='Yes')
> ...
>
> Or do I have to use a different method?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to rubyonrails-talk+unsubscribe@googlegroups.com
> <mailto:rubyonrails-talk+unsubscribe@googlegroups.com>.
> To post to this group, send email to rubyonrails-talk@googlegroups.com
> <mailto:rubyonrails-talk@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/0b70c901-972e-499b-8921-ac9e1e5ced54%40googlegroups.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/0b70c901-972e-499b-8921-ac9e1e5ced54%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8fb21d9c-d5b5-76f6-3397-421c297bc390%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment