made it so that you cant refill past the allowed refill number

This commit is contained in:
EggMan20339
2024-04-02 09:14:08 -04:00
parent 39023fcdf8
commit 209a07a411
13 changed files with 119 additions and 7 deletions

View File

@@ -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>