Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setHandHold(val){this.http.patch('http://localhost:3000/api/simulation/hand-hold?handhold=userinput', {
- })
- .subscribe(data => {
- console.log(data);
- });
- }
- <label class="h3-responsive white-text"> Enter Handhold Value: </label>
- <br>
- <div id= "handholds">
- <input type="text" id = "handhold" value="">
- <script>
- var val = "test";
- document.getElementById("handhold").value = val;
- </script>
- <input type="button" class="btn btn-primary btn-sm" value="Submit" (click)= "setHandHold(val)">
- <br>
- </div>
Add Comment
Please, Sign In to add comment