testappproj/static/appjs.js~
author amit@thunder
Mon, 17 May 2010 22:33:59 +0530
changeset 0 0b061d58aea3
permissions -rw-r--r--
First commit to Fossee of testapp has the basic Pykata framework on django with some specific changes to Problems model and some views to suit an exam like system

$(document).ready(function(){
$("a").click(function(event){
         alert("As you can see, the link no longer took you to jquery.com");
         event.preventDefault();
       });
     });



function loadcode(id) {
  
$("#solve_" + id).load(location.protocol + "//" + location.host +
				 "/code/" + id + "/");

}