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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T08:28:14+00:00 2026-05-11T08:28:14+00:00

< type=button value=PRINT onClick=window.open(‘print.php?id=&sec=&subj=&type=viewrec2&Year=&faci= ‘,’mywindow’,’width=800,height=800,left=0,top=100,screenX=0,screenY=100′)> when i click this button im being redirected into

  • 0

< type=’button’ value=’PRINT’ onClick=’window.open(‘print.php?id=&sec=&subj=&type=viewrec2&Year=&faci= ‘,’mywindow’,’width=800,height=800,left=0,top=100,screenX=0,screenY=100′)’>

when i click this button im being redirected into a new window. the problem is that on the main page where this button is located i want it also to redirect it to the previous page on that the same window how can i do that im using php and javascript?

  • 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. 2026-05-11T08:28:15+00:00Added an answer on May 11, 2026 at 8:28 am
    <input type='button' value='PRINT' onClick='window.open('print.php?id=&sec=&subj=&type=viewrec2&Year=&faci= ','mywindow','width=800,height=800,left=0,top=100,screenX=0,screenY=100');history.back()'>  
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 67k
  • Answers 67k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Look into svn:externals May 11, 2026 at 11:55 am
  • added an answer Uh ... The best way is to #include <regex.h> That… May 11, 2026 at 11:55 am
  • added an answer The model is responsible for notifying the listeners of any… May 11, 2026 at 11:55 am

Related Questions

When looking at most sites (including SO), most of them use: <input type=button />
What is the difference between HTML <input type='button' /> and <input type='submit' /> ?
<xsl:for-each select=./node [position() &lt;= (count(*) div 2)]> <li>foo</li> </xsl:for-each> <xsl:for-each select=./node [count(*) div 2
<servlet> <servlet-name>myservlet</servlet-name> <servlet-class>workflow.WDispatcher</servlet-class> <load-on-startup>2</load-on-startup> </servlet> <servlet-mapping> <servlet-name>myservlet</servlet-name> <url-pattern>*NEXTEVENT*</url-pattern> </servlet-mapping> Above is the snippet from
<flavor> I want to create a spelling test program for my grade schoolers that
<div id=myDiv> <a>...</a> <a>...</a> <a>...</a> <a>...</a> <a>...</a> <a>...</a> </div> If you wanted to select
<html> <head> <style type=text/css> div { border:1px solid #000; min-width: 50%; } </style> </head>
<my:DataGridTemplateColumn CanUserResize=False Width=150 Header={Binding MeetingName, Source={StaticResource LocStrings}} SortMemberPath=MeetingName> </my:DataGridTemplateColumn> I have the above column
<div> <h1>Title</h1> <table> ... </table> </div> Now, the <h1> has a margin: 0; so
<div style=width: 300px> <div id=one style=float: left>saved</div><input type=submit id=two style=float: right value=Submit /> </div>

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.