Can anyone tell me if i can you this code with Body onunload Event. I tried and it's not working. any1 seeing anything?
Thanx. <body id="htmlBody"> <script > $(document).ready(function() { $('#htmlBody').unload(function() { $.blockUI({ css: { border: 'none', padding: '15px', backgroundColor: '#000', '-webkit-border-radius': '10px', '-moz-border-radius': '10px', opacity: '.5', color: '#fff' } }); }); }); </scirpt> </body