Muhammad Arif wrote:

Thanks you very much for your reply.. but if window.close() so for popup so then how can we close a browser window....
Regards

On Tue, Oct 6, 2009 at 4:08 PM, Jonathan Vanherpe (T & T NV) <jonat...@tnt.be <mailto:jonat...@tnt.be>> wrote:


    Muhammad Arif wrote:


        Hello All:
                      I'm trying to close a browser window.. using
        windows.close().. but its not working...
        so can you help me.
        Regards


    I think it's window.close(), and i think you can only do this in
    popups.

    Jonathan

-- Jonathan Vanherpe - Tallieu & Tallieu NV - jonat...@tnt.be
    <mailto:jonat...@tnt.be>


Browsers won't allow you to do that. You can only close a window that was created with javascript. Why would you want to close a normal browser window? You'd just be annoying visitors this way.

Jonathan

--
www.tnt.be <http://www.tnt.be/?source=emailsig>           *Jonathan Vanherpe*
jonat...@tnt.be <mailto:jonat...@tnt.be> - www.tnt.be <http://www.tnt.be/?source=emailsig> - tel.: +32 (0)9 3860441

Reply via email to