Hi.. I am facing a similar issue where I am using a jquery for images effects and another for autocomplete on the same page.. Now the issue is that if i put all the autocomplete scripts after image effects then autocomplete works fine else if i put image effects scripts after autocomplete, then image effects works fine..
I want both to work on the same page.. Below are the scripts that i have put in the HEAD section..
IMAGE EFFECTS SCRIPTS:
<!-- IMAGE SLIDER JQUERY -->
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" ></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js" ></script>
<script type="text/javascript">
$(document).ready(function(){
$("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 3000, true);
});
</script>
<!-- END OF SLIDER -->
AUTOCOMPLETE SCRIPTS:
<!-- AUTOCOMPLETE SCRIPT LINKS AND JAVASCRIPT CODE -->
<script type="text/javascript" src="autocomplete/js/jquery-1.4.2.js"></script>
<script type='text/javascript' src="autocomplete/js/jquery.autocomplete.js"></script>
<link rel="stylesheet" type="text/css" href="autocomplete/js/jquery.autocomplete.css" />
<script type="text/javascript">
jQuery().ready(function() {
jQuery("#course").autocomplete("autocomplete/autoCompleteMain.php", {
width: 260,
matchContains: true,
//mustMatch: true,
//minChars: 0,
//multiple: true,
//highlight: false,
//multipleSeparator: ",",
selectFirst: false
});
});
</script>
<!-- AUTOCOMPLETE CODE LINKS END HERE -->
I tried using jQuery.noConflict(), but it dint help..
Please help me out on this..
Thanks
Karan