$('#foo').bind('mouseenter mouseleave blur', function() {
$(this).toggleClass('entered');
});
System.Web.Mvc, Version=2.0.0.0Replace it with the following:
System.Web.Mvc, Version=3.0.0.0
<add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0"/> </dependentAssembly> </assemblyBinding> </runtime>
Reference:
http://www.asp.net/learn/whitepapers/mvc3-release-notes#upgrading