Here's what I'm trying to run:
<script type="text/javascript">
$("input[@name='paymenttype']").change(function(){
if ($("input[@name='paymenttype']:checked").val() == 'deposit') {
//Display deposit form.
}
else if ($("input[@name='paymenttype']:checked").val() == 'creditcard') {
// Display credit card form.
}
});
</script>
However, the Razor view engine is catching my @
symbol.
Is there some way to tell it to ignore that specific instance of the @
symbol?