Using multiple plug ins which use different jquery files
I am trying to use the datepicker which can be simply added to a page by the following code:
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script type="text/javascript">
$(function() {
$("#datepicker").datepicker();
});
</script>
Unfortunately, I have an asp.net custom control which happens to be a certain autocomplete text box. This custom control is importing several jquery files into my page, so as a result the above code cannot find the datepicker() function. How can I tell this code in which file to look for the datepicker() function? Please if you reply to this post tell me the details. I am very new to using jquery.