Where is your code regarding jQuery UI loading? Both jQuery and jQuery users must be loaded (in that order) before attempting to use them.
<script type="text/javascript" src=".../jquery-1.3.2.min.js"></script> <script type="text/javascript" src=".../jquery-ui-1.7.2.min.js"></script> <script type="text/javascript"> ... your code goes here </script>
You need to be especially careful if you include javascript in user controls or server side. If you load your javascript at the end of the page and have controls or include the links referenced above, you can get javascript errors because although the file is included, it was not parsed before you could reference the functions in the included files.
source share