I am trying to allow a click function if the user has checked a checkbox on the page. Otherwise, I want to add a class to the #additional_foreign button.
I think I
try using $('#foreign_checkbox').is(":checked") - rest of the code looks fine
$('#foreign_checkbox').is(":checked")
If this was my code I'd do something like this to make it work:
Click Me