datepicker works on localhost but not on remote server!!!

datepicker works on localhost but not on remote server!!!


Hi guys!
I'm new to jQuery UI (just did some small stuff). I'm experiencing
problem with the DatePicker - it is working fine on my localhost
server (Apache 2.2) but fails to show on remote server. Basicly, the
JS should be working fine as I am using an image button for datepicker
that is shown, but own datepicker does not react on click event
(neither the input or button)...
here is my code:
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker({showOn: 'both',
buttonImage: './img/calendar.gif',
buttonImageOnly: true,
constrainInput: true,
showAnim: 'slideDown',
buttonText: 'Choose Date',
dateFormat: 'dd.mm.yy'
});
});
</script>
...
<tr>
<td>Date</td>
<td colspan="3" align="left"><input type="text" name="date"
class="form" style="width:135px;" id="datepicker"></td>
</tr>
...
I'm a bit upset as I wasn't expecting such a thing (and I'm quite in
hurry)...
Could You, please, anyone, HELP ME???
Many thanks for advice!!!