Guest User

Untitled

a guest
Oct 23rd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. setHandHold(val){this.http.patch('http://localhost:3000/api/simulation/hand-hold?handhold=userinput', {
  2. })
  3. .subscribe(data => {
  4. console.log(data);
  5. });
  6. }
  7.  
  8. <label class="h3-responsive white-text"> Enter Handhold Value: </label>
  9. <br>
  10. <div id= "handholds">
  11. <input type="text" id = "handhold" value="">
  12. <script>
  13. var val = "test";
  14. document.getElementById("handhold").value = val;
  15. </script>
  16. <input type="button" class="btn btn-primary btn-sm" value="Submit" (click)= "setHandHold(val)">
  17. <br>
  18. </div>
Add Comment
Please, Sign In to add comment