made it so that you cant refill past the allowed refill number
This commit is contained in:
@@ -3,6 +3,19 @@
|
||||
<asp:Content runat="server" ContentPlaceHolderID="cph1">
|
||||
|
||||
<link type="text/css" href="main.css"/>
|
||||
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$(document).keypress(function(e) {
|
||||
if (e.which === 13) { // Enter key = keycode 13
|
||||
e.preventDefault(); // Prevent the default Enter action
|
||||
$("#<%= btnPatSearch.ClientID %>").click(); // Trigger the search button click
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<h1 style="text-align: center; font-size: 44px">
|
||||
Prescriptions
|
||||
</h1>
|
||||
|
Reference in New Issue
Block a user