planktoscope/pipeline/pipeline.js
2019-12-10 17:22:06 -08:00

22 lines
450 B
JavaScript

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