Hello, this is my code to insert default hour to my form:
$col = array();
$col["title"] = "Hora de salida";
$col["name"] = "note";
$col["width"] = "10";
$col["editable"] = true; // this column is editable
$col["editoptions"] = array("size"=>10, "defaultValue"=> date("H:i:s",$m=strtotime('+3 minutes'))); // with default display of textbox with size 20
$col["editrules"] = array("required"=>true); // and is required
$col["search"] = false;
$cols[] = $col;
Works fine…
But it´s not taking realtime hour, it´s possible make with JavaScript o insert method?
Thank you
1 Answers
Your Answer