Added dirocty from javascript to jquery
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
$(document).ready(function() {
|
||||
//
|
||||
// add your jQuery code here
|
||||
// hides/shows paragraphs when either button is clicked
|
||||
$("button").click(function() {
|
||||
$("p").hide(2000).show(2000);
|
||||
});
|
||||
|
||||
$("button").click(function(){
|
||||
$("p").fadeIn().fadeOut();
|
||||
});
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user