|
主题:[分享]KesionCMS X1.5后台自定义日期字段增加日期选择器的修改 [收藏主题] | 转到: |
![]() ![]() ![]() ![]() |
![]() 解决了,官方给的代码有误 比如 input 后面没有空格 正确的是
if fieldtype=5 then GetDiyField=GetDiyField & "<inputWdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'});"" placeholder="""& Node.SelectSingleNode("tips").text&""" maxlength=""" &MaxLength &""" type=""text"" class=""textbox Wdate"" style=""width:" & XWidth & "px"" name=""" & fieldname & """ id=""" & fieldname & """ value=""" & F_Value & """>" Else GetDiyField=GetDiyField & "<input placeholder="""& Node.SelectSingleNode("tips").text&""" maxlength=""" &MaxLength &""" type=""text"" class=""textbox"" style=""width:" & XWidth & "px"" name=""" & fieldname & """ id=""" & fieldname & """ value=""" & F_Value & """>" end if |
|
![]() ![]() ![]() ![]() |
<上一主题 | 下一主题 > |