jQuery click event is not working in MVC views if i don’t have this block around the scripts;
@section scripts {
}
The funny thing is that this block does not work in partial views. Jus remove the block. jQuery will start working.
Add to favorites