Skip to content
Snippets Groups Projects
Commit 5740c93b authored by Robert L. Read's avatar Robert L. Read
Browse files

hacky code as a start for Ben

parent d77ad67b
No related branches found
No related tags found
No related merge requests found
......@@ -180,6 +180,9 @@ an interactive or static analysis of a respiration. It's primary purpose is
<input type="text" class="form-control" id="samples_to_plot" aria-describedby="samples_to_plot">
</div>
<div id="control_area">
<button id="control_area_button" type="button" class="btn btn-primary">START</button>
</div>
<div>
<label for="livetoggle">Plot Live:</label>
<label class="switch">
......@@ -1397,6 +1400,22 @@ $( document ).ready(function() {
else
DSERVER_URL = "http://localhost";
$("#control_area_button").click(function(event) {
var lh = "http://localhost:8080";
alert('making ajax call');
$.ajax({url: lh+"/README.md",
success: function(verification) {
alert("verifcation"+verification);
},
error: function(xhr, ajaxOptions, thrownError) {
console.log("Error!" + xhr.status);
console.log(thrownError);
}
});
});
$("button").click(function(event)
{
......
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