jquery php autocmplete dropdownlist items add link.

jquery php autocmplete dropdownlist items add link.

  1. <script type="text/javascript">
  2. $().ready(function() {
  3. $("#course").autocomplete("ajaxara.php", {
  4. width: 260, 
  5. matchContains: true, 
  6. selectFirst: false
  7. })
  8. });

  9. </script>
this is my autocomplete js. but i want to add link to source. for example get items is jhon and add link to "detail.php?id=1" how can i do this (: