First download jquery plugins. Save it to your project folder.
then on Master page give the path of your jquery plugin.
your path will be something like this:-
<script src="yourfoldername/jquery-1.7.2.min.js" type="text/javascript"></script>
Remember that my jquery plugin version is 1.7.2.min
Or you can use online library :-
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
then write your code like this :-
<script>
$(document).ready(function(){
$("button").click(function(){
$("#div1").fadeIn();
$("#div2").fadeIn("slow");
$("#div3").fadeIn(3000);
});
});
</script>
hope you got it.
Happy holi.