CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2001
    Location
    UK
    Posts
    308

    Avoiding Confirmation

    Hi,
    if i use
    window.close(); it is asking for "Do u wish to close?".. how toavoid it..

    Pl. help me

    thanks in adv.
    VEnu
    Venu Bharadwaj
    "Dream it. U can do it!"

  2. #2
    Join Date
    Apr 2001
    Location
    Salt Lake City, UT
    Posts
    135
    You can't avoid the confirmation window the first time it appears.
    If the user clicks "yes" to allow your script to close the window, then next time, the browser will not prompt the user.

    I have only experienced this with IE, I'm not sure about netscape's behaviour regarding the window.close(); confirmation.

  3. #3
    Join Date
    Jan 2002
    Location
    Helsinki, Finland
    Posts
    99
    Zvona - First aid for client-side web design

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured