Created
December 22, 2014 20:01
-
-
Save devdays/e3baa02564352ff3eb77 to your computer and use it in GitHub Desktop.
Single Page App - MVC Onclick
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#OkToEmailButtonGroup input').on('click', function () { | |
if ($(this).attr("value") == 0) { | |
$("#TheContact_OKToEmail").val("true"); | |
} else { | |
$("#TheContact_OKToEmail").val("false"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment