So I\'m trying to pass a parameter to a javascript function using the razor \'@\' notation (in an MVC-4 View) but I\'m getting Syntax error: \"Unterminated string constant\"
You tried with:
I added a semicolon at the end of javascript function call AssignButtonClicked('@item.ID');
AssignButtonClicked('@item.ID');