Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Why is my javaScript window opening in IE when my default browser is chrome or FF??

Posted on 2014-11-15
4
Medium Priority
?
131 Views
Last Modified: 2014-11-16
Why is my javaScript window opening in IE when my default browser is chrome or FF??
Note my default browser has been set to both Fire Fox and Google Chrome  but the window keeps opening in IE.
Any reason why??
0
Comment
Question by:Robert Silver
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 40445131
We can't know until you show us the code or a link with the code running.
0
 
LVL 2

Author Comment

by:Robert Silver
ID: 40445144
Really?
u0.htm
<!DOCTYPE html>
<html lang="en">
<head>
      <meta charset="utf-8">
      <title>huh</title>
      
</head>

<body>
<script src="u.js"  language="javascript" type="text/javascript"></script>
</body>
</html>
------------------------------
u.js
var nwin=window.open("u00.htm",null,"width=300px,height=400px");
nwin.moveTo(1,1);
nwin.focus();


What I do not understand is why I always get IE windows and not FF or chrome windows when I set default browser to FF or chrome
0
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 40445155
I don't know.  I copied your code and ran it in Firefox and the popup opened in Firefox.  Ran it in IE, it opened in IE.  Ran it in Chrome, it opened in Chrome.  But in all 3 cases, I had to 'allow' pop-ups from that page.
u0 screen shot
0
 
LVL 2

Author Comment

by:Robert Silver
ID: 40445845
odd. I am running window 7 with latest updates and latest firefox and IE and chrome.
perhaps it is a configuration. I just hope Norton Security is not part of the problem.
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question