Difference between revisions of "Team:Greece/home"

Line 5: Line 5:
 
$(document).ready(function(){
 
$(document).ready(function(){
 
     $("button").click(function(){
 
     $("button").click(function(){
         $.get( "https://2017.igem.org/Team:Greece/Notebook", function( data ) {
+
         $('#div1').load('https://2017.igem.org/Team:Greece/Notebook')
            $( "#div1" ).html( data );
+
            alert( "Load was performed." );
+
        });
+
 
     });
 
     });
 
});
 
});

Revision as of 16:04, 29 August 2017

Let jQuery AJAX Change This Text