Posted By

reynish on 09/15/11


Tagged

form input radio


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

jillella
asteris
spee66


Check radio input selected and values


 / Published in: jQuery
 

  1. $.fn.checkRadioValue = function () {
  2.  
  3. if ($(".radioClass:checked").val() == "True") {
  4. // Do something
  5. } else {
  6. // Do something else
  7. }
  8.  
  9. }

Report this snippet  

You need to login to post a comment.