【发布时间】:2009-07-08 13:24:36
【问题描述】:
代码如下:
在从有效日期计算日期后,此函数调用“displayRmuForm”。
它不工作:(
var displayRmuForm = function() {
var txtEffectiveDate= $get('ctl00_ContentPlaceHolder1_DetailsView1_txtEffectiveDate');
if (!rmuVisible && txtEffectiveDate.value.length > 0 ) {
$(".container").show(250);
} else {
$(".container").hide(250);
}
rmuVisible = !rmuVisible;
}
var effectiveDate_blur = function(e) {
var effectiveDate = null;
if (this.value.length > 0) {
effectiveDate = new Date(eval('"' + this.value + '"'));
setRmuDates(effectiveDate);
displayRmuForm();
}
}
【问题讨论】:
-
“不工作”是什么意思 - 如果出现错误,请列出。
-
它没有调用 'displayRmuForm' - 没有错误 :)
标签: javascript