From dd2d3df9f57b28998e97545b9cfa1078b94f0320 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 29 Oct 2015 17:42:22 +0100 Subject: debug view ajax --- js/debug.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 js/debug.js (limited to 'js') 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(){ + +}); -- cgit v1.2.3