JQuery不能在Win server 2008 R2上运行 [英] JQuery is not working on Win server 2008 R2
问题描述
我开发了一个Web应用程序。它在开发环境(本地PC)中工作正常。
但是当它部署在生产服务器上时。 JQuery datepicker& calader不工作。
我试图调试应用程序并发现以下错误:
< blockquote class =FQ>
Microsoft JScript运行时错误:''jQuery''未定义
in文件:
Quote:Scripts\jquery.datepick.js
Microsoft JScript运行时错误:对象不支持属性或方法''datepick
Quote:$(function(){
$(''#txtLetterDate'') .datepick({dateFormat:''yyyy / mm / dd''});
});
请指南。
(function(){
(''#txtLetterDate'')。datepick( {dateFormat:''yyyy / mm / dd''});
}) ;
请指导。
I have developed a web application. It works fine in development envirment (local PC).
But when it is deployed on the production server. JQuery datepicker & calader do not work.
I tried to debug the application and found the following errors:
Quote:Microsoft JScript runtime error: ''jQuery'' is undefined
in file:
Quote:Scripts\jquery.datepick.js
Microsoft JScript runtime error: Object doesn''t support property or method ''datepick
Quote:$(function () {
$(''#txtLetterDate'').datepick({ dateFormat: ''yyyy/mm/dd'' });
});
Please guide.
(function () {
(''#txtLetterDate'').datepick({ dateFormat: ''yyyy/mm/dd'' });
});
Please guide.
这篇关于JQuery不能在Win server 2008 R2上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!