From 6d91a70a28e132601e08cfb42a83ca443155c31d Mon Sep 17 00:00:00 2001 From: Michael Conlon Date: Tue, 17 Jan 2017 10:21:11 -0500 Subject: [PATCH] First ajax try --- tpftest/ajax.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpftest/ajax.html b/tpftest/ajax.html index 3f585dc..1578c45 100644 --- a/tpftest/ajax.html +++ b/tpftest/ajax.html @@ -10,7 +10,7 @@ url: "http://openvivo.org/tpf/core", data: {subject: "http://openvivo.org/a/orcid0000-0002-1304-8447", predicate: "", object: ""}, success: function(data, status){ - document.getElementById("output").innerHTML = "Data: " + data.replace('<','<').replace('>','>') + "\Status: " + status; + document.getElementById("output").innerHTML = "Data: " + data.replace(//g,'>') + "\Status: " + status; } }); });