Advertisement
relax4o

Untitled

Jul 31st, 2013
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  <script type="text/javascript">
  2. $(function() {
  3.     $(".auto").autocomplete({
  4.         source: function ( req, res ) {
  5.             $.ajax( {
  6.                 url: "search.php",
  7.                 dataType: "jsonp"
  8.             } );
  9.                 },
  10.         minLength: 1
  11.     });            
  12.  
  13. });
  14. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement