Browse Source

clear form

master
azri 1 month 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
         if (response.ok) {
251
         if (response.ok) {
252
 
252
 
253
           console.log('Enquiry submitted successfully:', result);
253
           console.log('Enquiry submitted successfully:', result);
254
+          document.getElementById('name').value = ""
255
+          document.getElementById('email').value = ""
256
+          document.getElementById('phone').value = ""
254
           document.getElementById("triggerModal").click()
257
           document.getElementById("triggerModal").click()
255
 
258
 
256
         } else {
259
         } else {

Loading…
Cancel
Save