Team:Groningen/Scripts/jqueryTest

From 2013.igem.org

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

Latest revision as of 16:29, 18 July 2013

$(document).ready(function(){

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

});