JQuery datepicker shows blank (white) text when on a modal dialog in IE9
<p>I have the following for use as a JQuery modal dialog (keeping it as simple as possible) :</p>

<pre><code>&lt;div id="diaryEntry" title="Diary Entry" style="display: none; width:600px"&gt;        
    &lt;input type="text" id="txtDiaryDate" style="color:#000000" /&gt;        
&lt;/div&gt;
</code></pre>

<p>I set the textbox to be a datepicker in a script section in the head of the page :</p>

<pre><code>$(function () {
      $("#txtDiaryDate").datepicker();          
});
</code></pre>

<p>I have a function which displays the dialog, which is triggered by a click on an icon :</p>

<pre><code>function AddDiary(contactID) {
      var psModal = $("#diaryEntry");          
      psModal.dialog({ modal: true, width: "300px", height: "auto" });
}
</code></pre>

<p>I also have the following style / scripts in my head section :</p>

<pre><code>&lt;link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" /&gt;  
&lt;script src="http://code.jquery.com/jquery-1.8.3.js"&gt;&lt;/script&gt;  
&lt;script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"&gt;&lt;/script&gt;  
</code></pre>

<p>The modal dialog is displayed, it contains the datepicker, but, in IE9, when I select a date from the datepicker the text in the box in invisible (i can select the 'invisible' text and copy it and can paste the selected date into something else, so the action of selecting a date is working). It works fine in both Opera and FF.</p>

<p>Any ideas would be much appreciated, thanks.</p>

<p>Edit : Not a solution, but I've given the datepicker a buttonImage to click on and made the textbox not visible (the image stays visible). I also added a div next to the text box, and set the onchange function of the text box to display the selected date in the neighbouring div, which makes the functionality similar and doesn't allow the user to enter an incorrect date manually.</p>

<p>This is not ideal as it's a lengthy workaround for what should be simple functionality, so any ideas as how to fix the issue still welcome. For the time being I can make do.</p>

<p>Edit 2 : spinner and timespinner suffer from exactly the same issue.</p>
