summaryrefslogtreecommitdiff
path: root/js/debug.js
blob: 633a5c4e461a8afe3b477adfea9b7453fc19e5fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$().ready(function()
{
  $(".ajax").each(function(x){
    $(this).click(function(){
       $.ajax({url: $(this).attr("tgt"), success: function(result){
          $("#ajax_result").html(result);
      }});   
    })
  })
  
  var d = atob(document.getElementById("svg_b64").innerHTML); 
  $('#svg').append($('<svg width="10000px">'+d+'</svg>'));

})