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

  • Home
  • SEARCH
  • 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 7743271
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:29:26+00:00 2026-06-01T09:29:26+00:00

I have the following html code gogu@yahoo.com wants to be your partner. Do you

  • 0

I have the following html code

gogu@yahoo.com wants to be your partner. Do you agree? 
<br><input type="button" id="1" name="btn1" class="button" value="Yes"  onclick="window.location='confirm/gogu@yahoo.com';" />     
<input type="button" id="2" name="btn2" class="button" value="No"  onclick="window.location='decline/gogu@yahoo.com';" /> 

The problem is when i click on the No button it gets me on the same address confirm/gogu@yahoo.com.

How can i redirect properly?

  • 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-01T09:29:28+00:00Added an answer on June 1, 2026 at 9:29 am

    Try using window.location.href=

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

Sidebar

Related Questions

i have the following html code : <FORM name=frmmail> <input id=dochtmlContent type=hidden name=dochtmlContent value=oldValue/>
I have the following html code : <form name=uploadForm action= method=POST enctype=multipart/form-data> <input type=file
I have following html code <input type=button id =b1 value=Click me onclick=msg() /> <input
I have the following html code to upload an image: <input type=file name=before size=40>
I have the following html code: <div class=tests> <input name=premise id=premise type=radio class=required value=0><span>0</span>
I have the following HTML code: <td> <input type=text size=40 value= name=related_image id=related_image> <input
I have the following html code: <div class=Radios> <span class=radio> <input type=radio value=1> yes
I have the following HTML code: <input type=checkbox value=1 /> <input type=checkbox value=2 />
I have the following HTML code: <ul id='item-list'></ul> <button id='add-item'>Add Item</button> <script type='text/template' id='item-template'>
I have the following html code: <input type=text id=theInput value=/> <a href=# id=theLink>Click me</a>

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.