段琳琳

河软CSDN乐知学院NET方向

文本框后边时间必须小于前边时间



结束时间必须小于开始时间


<tr>
                    <td class="TabletdRight" width="30%">
                        作息开始日期:
                    </td>
                    <td>
                        <asp:TextBox ID="txtSds" runat="server" onfocus="WdatePicker({startDate:'%y-%M-%d 09:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',maxDate:'#F{$dp.$D(\'txtSde\',{H:-1});}'})"
                            CssClass="span2"></asp:TextBox>
                        <span id="altSds" class="red"></span>
                    </td>
                    <td class="TabletdRight" width="30%">
                        作息结束日期:
                    </td>
                    <td>
                        <asp:TextBox ID="txtSde" runat="server" onfocus="WdatePicker({startDate:'%y-%M-%d 18:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'#F{$dp.$D(\'txtSds\',{H:1});}'})"
                            CssClass="span2"></asp:TextBox>
                        <span id="altSde" class="red"></span>
                    </td>
                </tr>





阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/linlin2294592017/article/details/17067855
个人分类: 每天小总结
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭