'AutoCompleteSaveForm()' Example : Window External « Javascript Objects « JavaScript DHTML






'AutoCompleteSaveForm()' Example

 
    
<html>
<body>
<form name="myForm">
    First Name: <input type="text" name="firstName"><br>
    Last Name: <input type="text" name="lastName" autocomplete="off">
</form>
<script language="JavaScript">
function function1(){
   window.external.AutoCompleteSaveForm(document.forms[0]);
   myForm.firstName.value="";
   myForm.lastName.value=""; 
} 
</script>
<button onclick="function1();">Save</button>
</body>
</html>

    
      
        
  








Related examples in the same category

1.Add Favorite
2.'ImportExportFavorites()' Example
3.'IsSubscribed()' Example
4.'menuArguments' Example
5.Navigate And Find
6.'AutoScan()' Example
7.Open new window and write user text