Jquery Datepicker does not update the text box in IIS


I have a jquery datepicker that works 100% in my dev environment.
When I deploy site onto IIS, the datepicker does show up when the control gets the focus, but clicking on a date does not update the textbox.

Is this a specific permission that needs to be set on IIS?

<script type="text/javascript">
    $(function () {
        $("#<%= txtDateFrom.ClientID  %>").datepicker({ dateFormat: 'yy/mm/dd' });
    $(function () {
        $("#<%= txtDateTo.ClientID  %>").datepicker({ dateFormat: 'yy/mm/dd' }).val();

The problem was not with IIS but with Internet Explorer.
Scripting has not be enabled for the 'Internet Zone'.
See this site for howto.