Backend Service
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
|
||||
|
||||
<div class="card-body">
|
||||
<form method="POST" action="/patient/addnewlink">
|
||||
<form method="POST" name="linkform" action="#">
|
||||
<div class="form-row">
|
||||
<div class="form-group col-md-12">
|
||||
<label for="inputEmail4">Enter Link ID</label>
|
||||
@@ -148,7 +148,7 @@
|
||||
|
||||
</div>
|
||||
<div class="form-group col-md-3">
|
||||
<button type="submit" class="btn btn-primary">Add Patient</button>
|
||||
<button type="submit" class="btn btn-primary" onclick="Show_Alert('My_Input_Text')">Add Patient</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -156,28 +156,23 @@
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function Show_Alert(Input_Id) {
|
||||
|
||||
var My_Message = document.getElementById(Input_Id).value;
|
||||
|
||||
alert('Hello, ' + My_Message);
|
||||
|
||||
}
|
||||
// -->
|
||||
</script>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user