I want to set the DateField to "disable:true"(Because I don't want the user select Datepicker,readOnly can't help). But I find that If I set the DateField to disabled,I can't get the DateField's value in the server side. I means that:
My js code:
In the server side (Java),I can't get the value "outtime"
altFormats: 'Y-m-d H:i:s',
In the server side,it print "null".
String outtime =request.getParameter("outtime");
System.out.println("get outtime data:"+outtime);
If I set the disabled to true,I can get the "outtime" value. Why ? How to get the disabled DateField's value? Thks!