Skip to content
Snippets Groups Projects
Commit c784de31 authored by Christopher Schankula's avatar Christopher Schankula :earth_africa:
Browse files

javascript communicates with server

parent 11bd65f7
No related branches found
No related tags found
No related merge requests found
......@@ -41,11 +41,11 @@ function post(path, params) {
function getChildren(id) {
document.getElementById("console").innerHTML += "In | getChildren()<br>"; //TODO: Console REMOVEME
var nodeList;
nodeList = {
"taxonId":[1821,51,1065],
"taxonName":["Chordata","Mollusca","Arthropoda"]
};
//nodeList = post('doBioLookup.do', { taxid: id}); // {taxid: intID}
//nodeList = {
// "taxonId":[1821,51,1065],
// "taxonName":["Chordata","Mollusca","Arthropoda"]
//};
nodeList = post('doBioLookup.do', { taxid: id}); // {taxid: intID}
return nodeList;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment