Snippets

JQuery setTimeout

setTimeout(function(){
alert("Hello"); 
}, 3000);

 

 

 

Snippet Category
JAVASCRIPT

JQuery setInterval

setInterval(function(){
alert("Hello"); 
}, 3000);

 

Snippet Category
JAVASCRIPT

JQuery Hover

$("#id-name").hover(function(){
//Code below
});

 

 

 

Snippet Category
JAVASCRIPT

Document Ready Function

$(document).ready(function() {
    //Code starts from here
});

 

 

 

Snippet Category
JAVASCRIPT

HTML Button

<input type="button" name="field-name" id="id-name" class="class-name" value="Click Me">

HOW IT LOOKS:

 

 

 

Snippet Category
HTML