Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8372321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:24:01+00:00 2026-06-09T14:24:01+00:00

I have a auto submit or Click (button) code, i want to add time

  • 0

I have a auto submit or Click (button) code, i want to add time delay for 2 seconds in this code?

Code Here :

document.evaluate("//input[@value='Submit Now' and @type='submit' and contains(@class, 'button')]", document, null, 9, 
null).singleNodeValue.click();

Please Help,
Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T14:24:03+00:00Added an answer on June 9, 2026 at 2:24 pm

    This looks like a javascript issue, you tagged is as ‘java’ and ‘script’.

    To delay this in javascript, you can pass it into the setTimeout function like so:

    setTimeout(function() {
        document.evaluate("//input[@value='Submit Now' and @type='submit' and contains(@class, 'button')]", document, null, 9, null).singleNodeValue.click();
    }, 2000);
    

    That should do it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple form on a page and I want to auto submit
I have some auto-generated HTML code. When I add a float:left; on the shared
I have a form, when the user clicks on the submit button this javascript
In this jsfiddle http://jsfiddle.net/littlesandra88/eGRRb/ have I submit buttons that are auto-generated. Each table row
I have Auto completed text view,i want to filter the items present in the
I have some auto-instantiation code which I would like to apply to about 15
I have an auto overflowed DIV on my page, what i want to do
I have a form that I want to be used to add entries. Once
I have the code for cloning elements but how to auto populate the second
I have an asp.net app with an asp:button that causes a postback, this means

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.