title: ColdFusion Dynamic JavaScript added for Datepicker class
body: <p><strong>My Question:</strong> Where/How do I edit the JavaScript that is dynamically added to the header of my CF page when the cfinput 'datefield' is present on the page?</p>
  
  <p><strong>Example:</strong> </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;/* &lt;![CDATA[ */
      ColdFusion.Ajax.importTag('CFINPUT-DATEFIELD');
  /* ]]&gt; */&lt;/script&gt;
  
          &lt;script type="text/javascript"&gt;/* &lt;![CDATA[ */
              var _cf_DATEFIELD_init_1431533171055=function()
              {
                  ColdFusion.Calendar.setUpCalendar("sDate", "MM/DD/YYYY", 0, ["S","M","T","W","T","F","S"], ["January","February","March","April","May","June","July","August","September","October","November","December"], 'balanceReportForm', null);
              };ColdFusion.Event.registerOnLoad(_cf_DATEFIELD_init_1431533171055);
          /* ]]&gt; */&lt;/script&gt;
  </code></pre>
  
  <p>The above JavaScript is added to my page when the following input is present in a form.</p>
  
  <pre><code>&lt;cfinput type="datefield" name="sDate" value="" validate="date" validateat="onsubmit" message="Use the date selector to choose a start date." label="test" style="rollOverColor:##777777; selectionColor:##777777; todayColor:##777777"&gt;
  </code></pre>