Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    May 2004
    Thanked 0 Times in 0 Posts

    window.open not working

    Hello all. I have one computer at work that will not open the below popup. It's just this one pc and she does not have any sort of pop up blocker. Javascript is enabled also. What else can I check??
    <script language='JavaScript'>

    window.open('jobs.php?from=$fromsql&to=$tosql&search=yes', '',


  2. #2
    Senior Coder nikkiH's Avatar
    Join Date
    Jun 2005
    Near Chicago, IL, USA
    Thanked 32 Times in 31 Posts
    MSIE6 comes with popup blocking enabled by default.
    Firefox also does.
    Check those first.

    Norton suite has popup blocking that actually changes the source of HTML pages to block window.open calls and changes code for ad blocking and whatnot. View the source of the page from her PC and make sure your code is even still there.

    Last, are you SURE she doesn't have a popup blocker? Some people don't even realize they have one. Sad, but true.

    If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
    Bored? Visit


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts