+ Start a Discussion
Shrey TyagiShrey Tyagi 

<Input type="Date"> on IE - Visualforce page IE Date picker

Hi All,
  I have a VF search page where I am passing parametres from VF pgae to SOQL in Apex contriller to return serach records. Here is my snippet of VF page. The issue is that for <input type="date">, input works only on crome  and not on IE. Please recommend changes :

function doSearch() {
        window.scrollTo(0, 0);




      <apex:actionFunction name="searchServer" action="{!runSearch}" rerender="results,debug,errors,size,size1,size2">
          <apex:param name="Name" value="" />

          <apex:param name="POPStartDate" value="" />
          <apex:param name="POPEndDate" value="" />


      <table cellpadding="2" cellspacing="2">
         <apex:commandButton onclick="doSearch();return false;" value="Search Projects"/>&nbsp;&nbsp;
         <apex:commandButton value="Reset Filters" action="{!reset}"/>

        <td style="font-weight:bold;">Project #<br/>
        <input type="text" id="Name" />

        <td style="font-weight:bold;">POP Start Date<br/>
        <input type="Date" id="POPStartDate"/>
        <td style="font-weight:bold;">POP End Date<br/>
        <input type="Date" id="POPEndDate" />