0
私は以下のコードを使用しました。JavascriptからApexに値を割り当てる方法
の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;
}