Speed up development with full-stack environments for every branch.

Learn More

Add autocomplete to input box form using jQuery

13187 Runs 43247 Views 21432 Copies
Saved

Saved

sutharshan02 1

sutharshan02
published 4 years ago

<html>
  <head>
    <!-- Load jQuery, jQuery UI and jQuery ui styles from jQuery website -->
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
    <!-- Source our javascript file with the jQUERY code -->
    <script src="script.js"></script>
    <link rel="stylesheet" href="runnable.css" />
  </head>
  <body>
    <h1>JQuery Auto complete example</h1>
    <form>
    <!-- textbox and label that are attached with the autocomplete -->
      <label for="fruits">Fruit <input type="text" name="fruits" id="fruits" /></label>
      
      
    </form>
  </body>
</html>
Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).