function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi all,
i want to display the calender beside the text box in vf page.Any one can u please help me .
Thanks in advance.
Hi,
Try the below code snippet as reference:
<Apex:page ><apex:form ><script>function DynamicDatePicker(d_id){DatePicker.pickDate(false,d_id.id,false);}</script><apex:inputText id="time" onfocus="DynamicDatePicker(this);" onchange="checkDateFormatt(this.id);" size="20" disabled="false" style="width:150px;"></apex:inputtext></apex:form></Apex:page>
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
could you pls add how you would evaluate the date with onchange event and what DatePicker.pickDate(false,d_id.id,false);
function is doing
Good Work Nvtar
thanks for ur replay.It helps me a lot
Hi,
Try the below code snippet as reference:
<Apex:page >
<apex:form >
<script>
function DynamicDatePicker(d_id)
{
DatePicker.pickDate(false,d_id.id,false);
}
</script>
<apex:inputText id="time" onfocus="DynamicDatePicker(this);" onchange="checkDateFormatt(this.id);" size="20" disabled="false" style="width:150px;">
</apex:inputtext>
</apex:form>
</Apex:page>
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
All Answers
Hi,
Try the below code snippet as reference:
<Apex:page >
<apex:form >
<script>
function DynamicDatePicker(d_id)
{
DatePicker.pickDate(false,d_id.id,false);
}
</script>
<apex:inputText id="time" onfocus="DynamicDatePicker(this);" onchange="checkDateFormatt(this.id);" size="20" disabled="false" style="width:150px;">
</apex:inputtext>
</apex:form>
</Apex:page>
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
could you pls add how you would evaluate the date with onchange event and what DatePicker.pickDate(false,d_id.id,false);
function is doing
Good Work Nvtar
thanks for ur replay.It helps me a lot