I have a web server that returns a svg. working perfectly. I am trying to use JQUERY to not type in browser always the request. But i dont know to load the response into a DIV.
$.get("http://localhost/proiect/domr.php", { url: "http://www.info.uaic.ro",type:"svg",hox:"html" },"xml" )
.done(function(data) {
alert("Data Loaded: " + data);
$("#tree").html(data);
I sais data loaded object document. And in my div with id=tree puts nothing. How can i put my data where my svg is stored in my div.