Posted on: 2/21/2014 9:10:48 AM | Views : 582

I was working on MVC-3 web application. Now i changed it to mvc4 and put the jquery files in end of _Layout page
<html> <head> </head> <body> @Html.Partial("_Menu") @RenderBody() @System.Web.Optimization.Scripts.Render("~/jquery") </body> </html> I have used some jquery in Partial View "_Menu", in Mvc 3 this is working fine because i put jquery files in head tag but now i am facing issue when i call this partial view
Uncaught ReferenceError: $ is not defined
I think this problem is due to jquery files are loading at the end of the page. Solution that comes in my mind is to load jquery files on head tag but i don't want to do this.
Suggest me any other solution. How can i use jquery in partial view.
Thank You

Go to the complete details ...