Skip to content

Commit

Permalink
clear input field after submit
Browse files Browse the repository at this point in the history
  • Loading branch information
CherrelleTucker committed Jan 22, 2024
1 parent 1472156 commit ec56f52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inDocActionItemsWebApp/Page.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ <h1>In-doc action item collection tool</h1>
document.getElementById('successMessage').innerText = response;
document.getElementById('successMessage').style.display = 'block';
hideSuccessMessage(); // Hide the message after 10 seconds
document.getElementById('documentId').value = ''; // Clear the input field
}).processDocumentId(documentId);
}
</script>
Expand Down Expand Up @@ -128,4 +129,5 @@ <h2 style="text-align:center;">Sample Agenda Elements</h2>
</table>
</div>
</body>
</html>
</html>

0 comments on commit ec56f52

Please sign in to comment.