testappproj/templates/appjs.js~
author amit@thunder
Mon, 31 May 2010 19:18:57 +0530
changeset 2 654c583fd78e
parent 0 0b061d58aea3
permissions -rw-r--r--
Made some changes and templates
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
0b061d58aea3 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
amit@thunder
parents:
diff changeset
     1
function loadcode(id) {
2
654c583fd78e Made some changes and templates
amit@thunder
parents: 0
diff changeset
     2
  $("#solve_" + id).load(location.protocol + "//" + location.host +
0
0b061d58aea3 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
amit@thunder
parents:
diff changeset
     3
				 "/code/" + id + "/");
0b061d58aea3 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
amit@thunder
parents:
diff changeset
     4
0b061d58aea3 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
amit@thunder
parents:
diff changeset
     5
}
2
654c583fd78e Made some changes and templates
amit@thunder
parents: 0
diff changeset
     6
function loadcode(id) {
654c583fd78e Made some changes and templates
amit@thunder
parents: 0
diff changeset
     7
  $("#solve_" + id).load(location.protocol + "//" + location.host +
654c583fd78e Made some changes and templates
amit@thunder
parents: 0
diff changeset
     8
				 "/run/" + id + "/");
654c583fd78e Made some changes and templates
amit@thunder
parents: 0
diff changeset
     9
654c583fd78e Made some changes and templates
amit@thunder
parents: 0
diff changeset
    10
}