将JavaScript日历与formview控件一起使用 [英] using javascript calender with formview control

查看:82
本文介绍了将JavaScript日历与formview控件一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JavaScript日历无法正常工作,无法更新或插入操作错误.
我将代码放在页面laod上. formview在malitview内部.

甚至我把代码放在view1加载事件中,更新操作后仍然没有显示.

Javascript calender not working niether update or insert operation accurs.
I put the the code on page laod. The formview is inside a malitview.

Even i put the code inside view1 load event still not showing after update operation.

推荐答案

尝试使用这种和平的代码,在其中您想从
调用日历
try using this peace of code where you wanna call th calender from
<a href="javascript:popupCalendar(''frmConsultant.edate'', ''document.frmConsultant.edate.value'','''');" onmouseover="window.status=''Popup Calendar'';return true;" onmouseout="window.status='''';return true;"><img name=''calimg'' src=''images/calender.gif'' width=100 height=20 border=0></a><input type=''text'' name=edate size=''6'' maxlength=''10'' >


这篇关于将JavaScript日历与formview控件一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆