+ Start a Discussion
sumithasumitha 

Custom date picker should retrieve record dynamically based on the Input date Specified

Hi All,
         
       I have a custom object with the field(Start_Date__c).In my visualforce page I have given
              Date:  <apex:input type="date"  id="dts" value="{!sd}" />
       1) How to pass the the id in javascript for date and retrieve the records(data with Start_Date__c  which has greater than the specfied date).
       2) This operation should perform dynamically without any button clicking.
       3)  I have struck how to gt the elementid using javascript for date field.

Thanks and Regards,
Sumitha P            

       

 
VaasuVaasu

Use apex:actionSupport with event as "onchange', you can set parameter using apex:param