Browse Source

clear form

master
azri 2 months ago
parent
commit
bee8750b37
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      resources/views/home.antlers.html

+ 3
- 0
resources/views/home.antlers.html View File

@@ -251,6 +251,9 @@
251 251
         if (response.ok) {
252 252
 
253 253
           console.log('Enquiry submitted successfully:', result);
254
+          document.getElementById('name').value = ""
255
+          document.getElementById('email').value = ""
256
+          document.getElementById('phone').value = ""
254 257
           document.getElementById("triggerModal").click()
255 258
 
256 259
         } else {

Loading…
Cancel
Save