Skip to main content

Search and Top Navigation

Ticket #6201: autocomplete_ie8_bug.3.html
File autocomplete_ie8_bug.3.html, 1.7 KB (added by unt01d, October 27, 2010 11:57AM UTC)
<!DOCTYPE html>
<html>
<head>
    <script type="text/javascript" src="http://code.jquery.com/jquery-nightly.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.js"></script>
    <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/themes/base/jquery.ui.all.css">
    <script>     
        jQuery.noConflict();
        jQuery(function() {
            var availableTags = [
                "ActionScript",
                "AppleScript",
                "Asp",
                "BASIC",
                "C",
                "C++",
                "Clojure",
                "COBOL",
                "ColdFusion",
                "Erlang",
                "Fortran",
                "Groovy",
                "Haskell",
                "Java",
                "JavaScript",
                "Lisp",
                "Perl",
                "PHP",
                "Python",
                "Ruby",
                "Scala",
                "Scheme"
            ];
            jQuery( "#tags" ).autocomplete({
                source: availableTags
            });
        });  
    </script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/prototype/1.6/prototype.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.3/scriptaculous.js"></script>   
    <meta charset=utf-8 />
    <title>Autocomplete Bug Test</title>
    <style>
        
    </style>
</head>
<body>

<div class="demo">

<div class="ui-widget">
    <label for="tags">Tags: </label>
    <input id="tags" />
</div>

</div> 

</body>
</html>

Download in other formats:

Original Format