'autocomplete' Example : autocomplete « Javascript Properties « JavaScript Reference

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
JavaScript Reference » Javascript Properties » autocomplete 




'autocomplete' Example

    
<html>
<head>
<script>
    function function1() {
        document.all.myName.autocomplete = "on"
    
</script>
</head>
<body onLoad="function1();">
    <form name="form1" method="post" action="">
        <pre>
            1. Type your name in the text field.
            2. Press "Submit" button.
            3. Type the first letter of your name again.
            4. Check the autofill feature.
        </pre>
        <input type="text" size=30 name="text2" id="myName">
        <input type="submit" value="Submit">
    </form>
</body>
</html>

    
      
      














Related examples in the same category
1.'autocomplete' Syntax and Note
2.'autocomplete' Possible Values
3.'autocomplete' is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.