Code: Select all
var test = document.getElementById("form1:statusDate").value;
<h:form id="form1">
<p:calendar value="#{propDetail.prop.propStatusDate}" id="statusDate" />
</h:form >
Code: Select all
var test = document.getElementById("form1:statusDate").value;
<h:form id="form1">
<p:calendar value="#{propDetail.prop.propStatusDate}" id="statusDate" />
</h:form >
Users browsing this forum: No registered users and 12 guests