rajkhanke's picture
Upload 26 files
40843fa verified
raw
history blame contribute delete
562 Bytes
function clearForm() {
document.getElementById("insuranceForm").reset();
}
predictButton.addEventListener('click', function() {
predictInsurance(); ked
});
function clearFormApp() {
// Reset the form fields
document.getElementById("app-id").value = "";
document.getElementById("app-name").value = "";
}
// Add event listener to the "Clear" button
document.querySelector(".clear-button").addEventListener('click', function() {
// Call the clearForm function when the "Clear" button is clicked
clearFormApp();
});