<script> var interval = setInterval(Tinterval, 5000); $('body').on('click', function() { ...
Sunday, 25 December 2016
How to close div clicking outside of it ?
satish mallick
December 25, 2016
<body> <div id="text">Hello</div> </body> <script> $(document).on('m...
Friday, 16 December 2016
How to disable trigger click after first click
satish mallick
December 16, 2016
NOTE: Multiple clicks on <a> tag, trigger fires only one time. <a class="active">One</a>...
Wednesday, 14 December 2016
JQuery count current div position on mouse enter.
satish mallick
December 14, 2016
NOTE:- We can use the index() method on mouseenter() : <div class="sub"> <div class=&...
Removing a specific class when window is resized
satish mallick
December 14, 2016
NOTE :- There's no need to use addClass('') or removeClass('') . <div class="pane active"...
How can i delay a function
satish mallick
December 14, 2016
Delay a Function 💠Use setTimeout() ; <script> setTimeout (satish,7000); function satish(){ c...
Thursday, 29 September 2016
Smoothly scroll to an element without a jQuery plugin
satish mallick
September 29, 2016
===========Scroll to a specific element=============== $('html, body').animate({ ...