21,886
社区成员
发帖
与我相关
我的任务
分享
$sc="<input type=\"text\" onfocus=\"WdatePicker({maxDate:'#F{$dp.$D(\'time\')||\'%y-%M-%d\'}'})\" name=\"time\">";
echo "$sc";
$sc="<input type=\"text\" onfocus=\"WdatePicker({maxDate:'#F{\$dp.\$D(\'time\')||\'%y-%M-%d\'}'})\" name=\"time\">";
echo "$sc";
echo <<<'EOT'
<input type="text" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'time\')||\'%y-%M-%d\'}'})" name="time">
EOT;
注意不能缩进