title: Can't hide SharePoint Date fields with jquery
body: <p>This works on regular input fields, but can't seem to make it work on date field which seems to generate a date picker and javascript.</p>
  
  <pre><code>$('input[title=Followup Date]').parent().parent().parent().hide();
  </code></pre>
  
  <p>How can I do this? My generated markup looks like this</p>
  
  <pre><code>&lt;TR&gt;
          &lt;TD nowrap="true" valign="top" width="190px" class="ms-formlabel"&gt;&lt;H3 class="ms-standardheader"&gt;
          &lt;nobr&gt;Followup Date&lt;/nobr&gt;
      &lt;/H3&gt;&lt;/TD&gt;
          &lt;TD valign="top" class="ms-formbody" width="400px"&gt;
          &lt;!-- FieldName="Followup Date"
               FieldInternalName="Followup_x0020_Date"
               FieldType="SPFieldDateTime"
            --&gt;
              &lt;span dir="none"&gt;
          &lt;SCRIPT language='javascript'&gt;g_strDateTimeControlIDs["SPFollowup_x0020_Date"] = "ctl00_m_g_4175fece_4419_4c1f_a18a_4357d8c9376e_ctl00_ctl04_ctl08_ctl00_ctl00_ctl04_ctl00_ctl00_DateTimeField_DateTimeFieldDate";&lt;/SCRIPT&gt;
                          &lt;table border=0 cellpadding=0 cellspacing=0&gt;&lt;tr&gt;
                          &lt;td class="ms-dtinput" &gt;
                          &lt;label for="ctl00_m_g_4175fece_4419_4c1f_a18a_4357d8c9376e_ctl00_ctl04_ctl08_ctl00_ctl00_ctl04_ctl00_ctl00_DateTimeField_DateTimeFieldDate" style="display:none"&gt;Followup Date Date&lt;/label&gt;
                          &lt;input name="ctl00$m$g_4175fece_4419_4c1f_a18a_4357d8c9376e$ctl00$ctl04$ctl08$ctl00$ctl00$ctl04$ctl00$ctl00$DateTimeField$DateTimeFieldDate" type="text" maxlength="45" id="ctl00_m_g_4175fece_4419_4c1f_a18a_4357d8c9376e_ctl00_ctl04_ctl08_ctl00_ctl00_ctl04_ctl00_ctl00_DateTimeField_DateTimeFieldDate" title="Followup Date" class="ms-input" AutoPostBack="0" /&gt;&lt;/td&gt;
                          &lt;td class="ms-dtinput" &gt;
                          &lt;A href="#" onclick='clickDatePicker("ctl00_m_g_4175fece_4419_4c1f_a18a_4357d8c9376e_ctl00_ctl04_ctl08_ctl00_ctl00_ctl04_ctl00_ctl00_DateTimeField_DateTimeFieldDate", "\u002fsites\u002fforms\u002fBrightIdeas\u002f_layouts\u002fiframe.aspx?&amp;cal=1&amp;lcid=1033&amp;langid=1033&amp;tz=-04:00:00.0001681&amp;ww=0111110&amp;fdow=0&amp;fwoy=0&amp;hj=0&amp;swn=False&amp;minjday=109207&amp;maxjday=2666269&amp;date=", ""); return false;' &gt;&lt;IMG id=ctl00_m_g_4175fece_4419_4c1f_a18a_4357d8c9376e_ctl00_ctl04_ctl08_ctl00_ctl00_ctl04_ctl00_ctl00_DateTimeField_DateTimeFieldDateDatePickerImage src="/_layouts/images/calendar.gif" border="0" alt="Select a date from the calendar."&gt;&lt;/IMG&gt;&lt;/A&gt;&lt;/td&gt;
  </code></pre>