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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:23:06+00:00 2026-05-23T09:23:06+00:00

I am working on a simple javascript program that searches for a wine review

  • 0

I am working on a simple javascript program that searches for a wine review on one or several websites based on which sites the user is interested in.

My problem is that the window.open command only opens the first website chosen by the user and seems to be unable to open the others. Also, after scrolling through the urls of the sites listed, I get an error message saying: 405 – Method Not Allowed

You can check the program out at: http://www.divinocards.com/search_engine_4.htm

I have spent several hours trying to figure out why the program is stalling as it is. I have used the debugger and it seems that all values are being correctly assigned. It’s is just that I am unable to open multiple windows. It doesn’t seem to be an issue with pop-up blockers either as I temporarily disabled those.

Any help would be greatly appreciated.

Sincerely,
OB

  • 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-05-23T09:23:07+00:00Added an answer on May 23, 2026 at 9:23 am

    Change the type attribute of input from submit to button (for input with name="Find" and, in fact, all inputs that you use through JavaScript exclusively, i.e. not doing a real submit to server).

    More details – your form doesn’t have an action attribute. Take a look here:

    • http://www.w3schools.com/tags/tag_input.asp

    What happens in your current code when you click on “Find” button is that you are doing a submit to an unknown location. As per the standard:

    • http://www.w3.org/TR/html401/interact/forms.html

    this attribute is required (look at section 17.3 The FORM element).

    The details in the section also explain why it redirects to “nowhere”:

    action = uri [CT]
        This attribute specifies a form processing agent. User agent behavior for a value other than an HTTP URI is undefined.
    

    So, at the end it’s up to a specific browser to decide what to do here (an implementation detail, not something you want to rely on).

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

Sidebar

Related Questions

i am working on a simple web app which has a user model and
I'm working on a simple one-page calculator, heavy with JavaScript and form elements. Here
I have a simple Javascript function which builds a Url that I want to
I have a very simple JavaScript operation which is just not working. I'm using
I'm currently working on some code based on John Resig - Simple JavaScript Inheritance
I am trying to create a simple javascript based extension for Google Chrome that
I am working on a program in C# that needs to load some JavaScript
I'm working on a simple javascript login for a site, and have come up
My javascript is not working right. It is simple pre-vailidation form and I can
Working on a simple C program I'm stuck with an if test: int line_number

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.