I use PHP platform.

And i implemented the jQuery autocomplete with an Ajax call with database. But I have been facing problems to implement the same for taking comma separated inputs from the same input field. I went through a lot of tutorials, but none worked with an ajax call to retrieve the JSON file...
below is my code please let me know where i did a mistake....

<script src="js/jquery-1.7.1.min.js"></script>
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/dimensions.js" type="text/javascript"></script>
<script src="js/autocomplete.js" type="text/javascript"></script>
$(document).ready(function() {
$.getJSON('/releases/new.json', function(data) {
source: data.list,
multiple: true
setAutoComplete("searchField2", "results2", "autocomplete2.php?part2="); });

<input size="40" type="text" id="searchField2" name="searchField2" value="" />