瀏覽代碼

clear form

master
azri 1 月之前
父節點
當前提交
bee8750b37
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      resources/views/home.antlers.html

+ 3
- 0
resources/views/home.antlers.html 查看文件

@@ -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…
取消
儲存