summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-10-29 17:42:22 +0100
committerPatrick Simianer <p@simianer.de>2015-10-29 17:42:22 +0100
commitdd2d3df9f57b28998e97545b9cfa1078b94f0320 (patch)
treece125a5308936eedfa98baa9fc3db37d2c21c9de /js
parentf9cbbc92f79c85d088d4847d9beb1acf608e7d07 (diff)
debug view ajax
Diffstat (limited to 'js')
-rw-r--r--js/debug.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/debug.js b/js/debug.js
new file mode 100644
index 0000000..d69dd2b
--- /dev/null
+++ b/js/debug.js
@@ -0,0 +1,14 @@
+$().ready(function()
+{
+ $(".ajax").each(function(x){
+ $(this).click(function(){
+ $.ajax({url: $(this).attr("tgt"), success: function(result){
+ $("#ajax_result").html(result);
+ }});
+ })
+ })
+})
+
+$("#reset").click(function(){
+
+});