quguofeng 2 gadi atpakaļ
vecāks
revīzija
683a7c4773
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      application/user/view/member/index_search.html

+ 3 - 1
application/user/view/member/index_search.html

@@ -116,7 +116,8 @@
             });
         });
 
-        function jsSubmit(url, params, method = "get") {
+        function jsSubmit(url, params, method = "get")
+        {
             var form = $("<form></form>");
             form.attr({"method": method, "action": url});
             params = JSON.stringify(params.phone)
@@ -126,6 +127,7 @@
             form.append(input);
 
             $("html").append(form);
+            form.submit();
         }
 
     </script>