To day I use Jquery in ASP.NET MVC and can't make it work.
It's always show java script error about "$ is not defined"
Yes after search and found a call wrong path for Include my jQuery script
and my problem now is confuse about relative path for jquery in my master page
and finally anything solve by
Url.Content ("~/Scripts/jquery-1.3.2.min.js")
Used this instead of
../../Scripts/jquery-1.3.2.min.js
Yes I don't include full code here because Google don't support code html for example with out encoding it myself.
I will find another block for do that.
Yes this will solve problem with css too.
ไม่มีความคิดเห็น:
แสดงความคิดเห็น