'AutoCompleteSaveForm()' Example : Window External : Javascript Objects JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Javascript Objects » Window External »

 

'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>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Javascript Objects
» Window External