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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:24:23+00:00 2026-05-27T21:24:23+00:00

I am developing a javascript application which – among a lot of other controls

  • 0

I am developing a javascript application which – among a lot of other controls – contains a button. When clicking this button I need to open a new window with an URL based on some selections made in the control and this I have made with a simple code

window.open(myurl);

The generated URL could end up like this “domain.xx/page#anchor”, this works as expected in FF, but IE totally ignores the anchor – the page is not correct positioned and the anchor is not even shown in the URL.

I can solve this writing my code like this

var test = window.open();
test.location.href = myurl;

the codes opens the window as expected, but inserting the URL and loading the page is very slow and therefore gives a bad user experience.

Any ideas how to make this better?

  • 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-27T21:24:24+00:00Added an answer on May 27, 2026 at 9:24 pm

    Last time I targeted IE (which is quite a while ago) the trick was to have a

    <form action="http://domain.xx/page#bookmark" method="get" target="_blank" name="foo"></form>
    

    and do

    forms['foo'].submit()
    

    on click.

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

Sidebar

Related Questions

I am developing a DHTML/Javascript application which relies on some advanced features (DOM manipulation,
I have been developing a new JavaScript application which is rapidly growing in size.
I am developing an application which uses .js files stored in the Resources/javascript folder
I am developing a simple web application which contains these 3 components: client that
I'm developing a web application in asp.net c#, which has a URL like this...
I am developing an application in Javascript using Appcelerator and I need to compare
I am developing a web application and using quite a lot of JavaScript doing
I'm developing a Flash application which is communicating with Javascript to allow more features
I'm developing a web application which has the need of a powerful .doc editor.
I'm developing an application in PHP and Javascript and I need to set up

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.