function openSelectDate(ctl)
{ var returnValue=window.showModalDialog("Calendar.aspx",window,"dialogWidth:300px;dialogHeight:230px;status:no;help:no;scroll:no;center:yes;");
// window.alert (returnValue);
document.all.ctl.value='aa';
document.all.ctl.value=returnValue;
}
ctl为TextBox的ID ,但是无轮 赋常量aa还是返回值returnValue 都没有成功
{ var returnValue=window.showModalDialog("Calendar.aspx",window,"dialogWidth:300px;dialogHeight:230px;status:no;help:no;scroll:no;center:yes;");
// window.alert (returnValue);
document.all.ctl.value='aa';
document.all.ctl.value=returnValue;
}
ctl为TextBox的ID ,但是无轮 赋常量aa还是返回值returnValue 都没有成功
解决方案 »
- 求教,emit、反射、new三者之间的关系以及效率
- 在母版页中,发生Microsoft JScript 运行时错误: 'Ext.Net.DirectMethod' 为空或不是对象的错去
- 重新设置数据源,select选项卡的下拉菜单里没有新添加的方法
- 有关访问权限的配置文件设置问题
- |M| VS2005修复了一下 但是出现新加页面多了很多的 using 不有什么区别
- 为什么要用DNN
- --------- 从客户端获取服务器端变量的问题?-------
- 动态添加自定义控件问题.......
- [ASP.NET]如何在DataList的ItemDataBound事件中给HeaderTemplate中的Label控件赋值
- 请大家关注这个Session问题!谢谢!高分求助!
- 请问这个功能怎么实现呢?进来看看吧,大侠们
- 用C#上传图片并生成缩略图的问题,上传原图(大图)好使,但只要一生成缩略图就出错,请高手指教!
window.Form1.ctl.value=returnValue;