Update pipeline.js

This commit is contained in:
tpollina 2019-12-10 17:22:06 -08:00 committed by GitHub
parent 7da17e36b2
commit 39fef41e38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,21 @@
$(document).ready(function(){
$( "#send_nb_step" ).click(function() {
pipeline()
});
function pipeline() {
var value = $("#value").val();
var string = $("#string").text();
var value = $("#nb_step").val();
var orientation = $("#orientation").val();
console.log("pipeline.php?value="+value+"&string="+string);
console.log("pipeline.php?nb_step="+value+"&orientation="+orientation);
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "pipeline.php?value="+value+"&string="+string, true);
xmlhttp.open("GET", "pipeline.php?nb_step="+value+"&orientation="+orientation, true);
xmlhttp.send();
}
});