Team:Groningen/Scripts/jqueryTest

From 2013.igem.org

(Difference between revisions)
(Created page with "$(document).ready(function(){ $("p").click(function(){ $(this).hide(); }); });")
Line 1: Line 1:
$(document).ready(function(){
$(document).ready(function(){
-
  $("p").click(function(){
+
$("#msgid").html("This is Hello World by JQuery");
-
    $(this).hide();
+
-
  });
+
});
});

Revision as of 15:55, 18 July 2013

$(document).ready(function(){

$("#msgid").html("This is Hello World by JQuery");

});