Check radio input selected and values


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.