Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link href="jquery-ui/css/base/jquery-ui-1.10.4.custom.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="jquery-ui/js/jquery-1.10.2.js"></script>
- <script type="text/javascript" src="jquery-ui/js/jquery-ui-1.10.4.custom.js"></script>
- <script type="text/javascript">
- $(function(){
- var availableBirds = [
- "Great Bittern",
- "Little Grebe",
- "Black-necked Grebe",
- "Little Bittern"
- ];
- $("#birds").autocomplete({
- source: "birds/get_birds" //availableBirds // path to the get_birds method
- });
- });
- </script>
- <input type="text" id="birds" />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement