Ruby on Rails
Saturday, April 1, 2017
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.
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/0b70c901-972e-499b-8921-ac9e1e5ced54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment