Go Premium for a chance to win a PS4. Enter to Win

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
?
133 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
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Suggested Courses

886 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