0
我已经使用了下面的代码。如何从Javascript中将值分配给顶点
Visualforce页面的代码片段:
<Script>
//Window Load
document.getElementById("Today_Date").value = "2014-02-02";
</Script>
<input type="date" value="{!myDate}" id="myDate"/>
<apex:commandButton action="{!CallMyMethod}" value="End" >
的日期是可见的,但它不来的顶峰。
public date myDate{ get; set; }
public PageReference CallMyMethod() {
//I got null when use the myDate;
return null;
}
任何解决方案?