本文介绍了Jquery datepicker在我的ASP.NET页面中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

$(function(){

$(#<%= txtProcStartDate.ClientID%>)。datepicker({

changeMonth:true,

changeYear:true

});



});

var prm = Sys.WebForms.PageRequestManager.getInstance();



prm.add_endRequest(function(){





$(#<%= txtProcStartDate.ClientID%>)。datepicker({

changeMonth:true,

changeYear :true

});



});



}) ;



我的尝试:



$(function() {

$(#<%= txtProcStartDate.ClientID%>)。datepicker({

changeMonth:true,

changeYear :true

});



});

var prm = Sys.WebForms.PageRe questManager.getInstance();



prm.add_endRequest(function(){





$(#<%= txtProcStartDate.ClientID%>)。datepicker({

changeMonth:true,

changeYear:true

});



});



});

$(function () {
$("#<%= txtProcStartDate.ClientID %>").datepicker({
changeMonth: true,
changeYear: true
});

});
var prm = Sys.WebForms.PageRequestManager.getInstance();

prm.add_endRequest(function () {


$("#<%= txtProcStartDate.ClientID %>").datepicker({
changeMonth: true,
changeYear: true
});

});

});

What I have tried:

$(function () {
$("#<%= txtProcStartDate.ClientID %>").datepicker({
changeMonth: true,
changeYear: true
});

});
var prm = Sys.WebForms.PageRequestManager.getInstance();

prm.add_endRequest(function () {


$("#<%= txtProcStartDate.ClientID %>").datepicker({
changeMonth: true,
changeYear: true
});

});

});

推荐答案




这篇关于Jquery datepicker在我的ASP.NET页面中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 21:22