Put a delay on "this.form.Submit()"?

Asked

Viewed 61 times

0

How to put a delay at the event this.form.submit()?

onblur="this.form.submit()"

<input type="text" name="fornecedores" 
       onchange="this.form.submit()" autocomplete="false"  
       value="<?php echo $fornecedores?>" 
       class="fornecedores" placeholder="Fornecedores"  
/>
  • related: http://stackoverflow.com/questions/24849/execute-script-after-specific-delay-using-javascript

  • related: http://stackoverflow.com/questions/1183872/put-a-delay-in-javascript

  • Ola I have no knowledge of javascript do not know how to adpita this article to my question

  • 2

    try onblur="setTimeout(this.form.Submit(), 3000)"

  • Can you explain what you want to do? What makes you need a "delay"?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.