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 9018825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:37:46+00:00 2026-06-16T04:37:46+00:00

I need to click on the button on the previous screen by clicking on

  • 0

I need to click on the button on the previous screen by clicking on the button at the current screen
Writing method for clicking on the current button screen is easy (see below) but I have troubles finding the button on the previous screen.

$('body.printing').prepend('<input type="button" value="Retry" id="RetryLetter"/>');

    $("#RetryLetter").click(function()
    {
//          parent.history.back().$("#printLetter").click();
        var prButton =  document.referrer.getElementById("printLetter");
        prButton.click();
//          window.opener.$("#printLetter").click();
    });

I tried several variants – so far nothing worked

  • 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-16T04:37:47+00:00Added an answer on June 16, 2026 at 4:37 am

    document.referrer is just a string with the referring URL. It is not a DOM element that you can access.

    http://wap.w3schools.com/jsref/tryit.asp?filename=tryjsref_doc_referrer

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

Sidebar

Related Questions

I have a hidden button on a form that I need to click in
I need a click on the .next button in jQuery serialScroll/scrollTo to not only
Here i need to check a button click using javascript i.e)if button A is
In a web page button click event we need to export 2,00,000 to 5,00,000
I need a field to store some information after one asp button click for
Here i am calling a javascript function on a button click and i need
When i click on OK button of an UIAlertView, i need to change the
i placed one button in a page .when click on that need to show
I need a function that a user can just click a flash app button
I need to click an html button and navigate to another page. After click

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.