testappproj/static/appjs.js~
changeset 0 0b061d58aea3
equal deleted inserted replaced
-1:000000000000 0:0b061d58aea3
       
     1 $(document).ready(function(){
       
     2 $("a").click(function(event){
       
     3          alert("As you can see, the link no longer took you to jquery.com");
       
     4          event.preventDefault();
       
     5        });
       
     6      });
       
     7 
       
     8 
       
     9 
       
    10 function loadcode(id) {
       
    11   
       
    12 $("#solve_" + id).load(location.protocol + "//" + location.host +
       
    13 				 "/code/" + id + "/");
       
    14 
       
    15 }