function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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);
        searchServer(
          document.getElementById("Name").value,
          document.getElementById("POPStartDate").value,
          document.getElementById("POPEndDate").value,


          );

      }
      
   

      </script> 

      <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="" />
 


      </apex:actionFunction>

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

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

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