I have created a partial view "_Test1" in mvc 4.0.
With the help of a controller I am calling my partial view.
private ActionResult MyView()
{
return PartialView("_Test1");
}
When I debug I don't get any error, I assume that my partial view has been loaded successfully through controller. Now with the help of this partial view, I have to call a javascript. Which gives me an error "Unexpected character '$'". Please refer he screenshot below :-
Can someone help ?