<body> <div id="text">Hello</div> </body> <script> $(document).on('m...
Sunday 25 December 2016
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({ ...
How to detect a click outside an element?
satish mallick
September 29, 2016
$ ( window ). click ( function () { //Hide the item if visible }); $ ( '#item' ). click ( function ( event ){ eve...