how to close pop up div after specify time using jquery

 In this article , we are use many time pop up div like login page ,registration page or add and we want to close it on a specify time in milliseconds .  We can use this below code and we can get the solution of our problem.

    <script type="text/javascript">



          setTimeout(function () {
              $('#boxes').fadeOut('fast');
          }, 25000);

</script>

Note :-

‘#boxes ’ is the name of pop up div.

how to close pop up div after specify time using jquery how to close pop up div after specify time using jquery Reviewed by NEERAJ SRIVASTAVA on 11:25:00 AM Rating: 5

No comments:

Powered by Blogger.