Go Back   Velocity Reviews > General Computer Discussion > Software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
Old 09-04-2009, 12:14 PM   #1
Default


Hi,

This is with reference to
onUserExit jQuery Plugin
I want to use onUserExit.js
But exactly i am unable to implement.
My requirement is to know when user close the browser.
How do I know this with minimum effort.
I am using asp.net 2.0 and master page.

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.url.packed.js"></script>
<script type="text/javascript" src="js/onUserExit.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$().onUserExit({
execute: function()
{
alert("This alert was executed upon you leaving this page to another website, or when you closed the browser!");
},
internalURLs: "creations.userfirstinteractive.com ";
});

});

</script>

Now,How do I know when user close the browser.
The alert fire everytime when there is page postback.
Where to modify code ?
Those who have use this will be able to help me


Thanks


KumarHarsh
KumarHarsh is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
want to display .chm in browser control of ASP.NET 2.0 pratibhaskhaire General Help Related Topics 0 02-14-2008 06:23 AM
Users cannot save password in browser?? rmartin General Help Related Topics 2 08-11-2007 06:00 AM
session_end notworking vravi_karani Software 1 03-14-2007 11:04 AM
browser hijacked me A+ Certification 18 03-02-2006 12:17 PM
Re: Browser closes at certain sites Tom MacIntyre A+ Certification 2 10-22-2004 08:33 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46