#1
  1. No Profile Picture
    Contributing User
    ASP Explorer (0 - 99 posts)

    Join Date
    Oct 2008
    Posts
    90
    Rep Power
    13

    Question Button to loose focus after close of popup window


    Good day, I need help.

    I have an html button that calls & open another browser window on the onMouseUp event, but once I close the popup new browser window my button has focus & is like selected.

    I want it not to be selected or clicked or has focus, how do i loose the focus after close of popup window?

    Code:
    onMouseUp="window.open("
    Please Assist!
  2. #2
  3. Contributing User
    ASP Adventurer (500 - 999 posts)

    Join Date
    Feb 2004
    Location
    Netherlands
    Posts
    542
    Rep Power
    241
    Can't you do a blur after the window.open? Like
    Code:
    onMouseUp="window.open(...);this.blur();"
    ?
  4. #3
  5. No Profile Picture
    Contributing User
    ASP Explorer (0 - 99 posts)

    Join Date
    Oct 2008
    Posts
    90
    Rep Power
    13

    Wink


    Great stuff works great

Similar Threads

  1. Adding elements to dropdown list from popup window
    By sync_or_swim in forum ASP Development
    Replies: 6
    Last Post: August 29th, 2006, 09:58 AM
  2. Close Parent Window & Open Pop-Up At the Same Time?
    By frostbitten in forum HTML, JavaScript And CSS Help
    Replies: 4
    Last Post: June 17th, 2005, 05:59 AM
  3. How to reset a variable in a popup window
    By holmags in forum ASP Development
    Replies: 4
    Last Post: February 14th, 2005, 10:25 AM
  4. Passing variables to popup window
    By hogana in forum ASP Development
    Replies: 1
    Last Post: June 28th, 2003, 07:01 AM
  5. Image button - modal window - close
    By Steve Schofield in forum .NET Development
    Replies: 1
    Last Post: June 11th, 2002, 10:53 PM

IMN logo majestic logo threadwatch logo seochat tools logo