Update pipeline.js
This commit is contained in:
parent
7da17e36b2
commit
39fef41e38
|
@ -1,10 +1,21 @@
|
||||||
function pipeline() {
|
$(document).ready(function(){
|
||||||
var value = $("#value").val();
|
|
||||||
var string = $("#string").text();
|
|
||||||
|
|
||||||
console.log("pipeline.php?value="+value+"&string="+string);
|
$( "#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();
|
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();
|
xmlhttp.send();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in a new issue