asp.net中调用javascript函数实现多功能日期控件示例
|
日期:2007年8月16日 作者: 查看:[大字体
中字体 小字体]
|
var n=0; for (j=0;j<5;j++){ strFrame+= ' <tr align=center Author="wayx">'; for (i=0;i<7;i++){ strFrame+='<td width=20 height=20 id=meizzDay'+n+' style="font-size:12px" Author=meizz onclick=parent.meizzDayClick(this.innerText,0)></td>';n++;} strFrame+='</tr>';} strFrame+=' <tr align=center Author="wayx">'; for (i=35;i<39;i++)strFrame+='<td width=20 height=20 id=meizzDay'+i+' style="font-size:12px" Author=wayx onclick="parent.meizzDayClick(this.innerText,0)"></td>'; strFrame+=' <td colspan=3 align=right Author=meizz><span onclick=parent.closeLayer() style="font-size:12px;cursor: hand"'; strFrame+=' Author=meizz title="' + _VersionInfo + '"><u>关闭</u></span> </td></tr>'; strFrame+=' </table></td></tr><tr Author="wayx"><td Author="wayx">'; strFrame+=' <table border=0 cellspacing=1 cellpadding=0 width=100% Author="wayx" bgcolor=#FFFFFF>'; strFrame+=' <tr Author="wayx"><td Author=meizz align=left><input Author=meizz type=button class=button value="<<" title="向前翻 1 年" onclick="parent.meizzPrevY()" '; strFrame+=' onfocus="this.blur()" style="font-size: 12px; height: 20px"><input Author=meizz class=button title="向前翻 1 月" type=button '; strFrame+=' value="< " onclick="parent.meizzPrevM()" onfocus="this.blur()" style="font-size: 12px; height: 20px"></td><td '; strFrame+=' Author=meizz align=center><input Author=meizz type=button class=button value=Today onclick="parent.meizzToday()" '; strFrame+=' onfocus="this.blur()" title="当前日期" style="font-size: 12px; height: 20px; cursor:hand"></td><td '; strFrame+=' Author=meizz align=right><input Author=meizz type=button class=button value=" >" onclick="parent.meizzNextM()" '; strFrame+=' onfocus="this.blur()" title="向后翻 1 月" class=button style="font-size: 12px; height: 20px"><input ';
上一篇:创建用于 ASP.NET 的分页程序控件[MSDN]
下一篇:在代码隐藏中遍历当前页的所有控件
|
| asp.net中调用javascript函数实现多功能日期控件示例 相关文章: |
|
|
|
| asp.net中调用javascript函数实现多功能日期控件示例 相关软件: |
|
|
|