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

    Problem in window.open()

    Hi

    When a button in parent window is clicked multiple times, more than one child window is opened. This problem is occurring in linux. In windows the code is working fine. Is there any option in window.open() method to open a child window once.
    Thanks & Regards,
    Srikanth S

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,628
    Thanks
    0
    Thanked 648 Times in 638 Posts
    It depends on the value in the second parameter that you pass which is the name of the window to open. If you use anything other than _blank then the same window should reopen. Setting the fourth parameter to true or false may also make a difference as that parameter determines whether an existing window should or shouldn't be reused.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    New Coder
    Join Date
    May 2005
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem in pop up window.

    This problem occurs only in linux firefox and mozilla browsers. Is there any known issue regarding this case?. Need a workaround to fix this issue.

    Waiting for ur replies.

    Regards,
    Thanks & Regards,
    Srikanth S


  •  

    Posting Permissions

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