Jimy 6 năm trước cách đây
mục cha
commit
b827fae747
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      resources/views/admin/sportsfoot/outcome.blade.php

+ 2 - 2
resources/views/admin/sportsfoot/outcome.blade.php

@@ -254,7 +254,7 @@
 	
 	<!-- 弹窗隐藏区域 -->
     <div id="myModal" class="modal">
-            <input type="hidden" id="matchid" name="matchid" value="@{{d.match_id}}">
+            <input type="hidden" id="matchid" name="matchid" value="">
             <div class="modal-content">
                 <div class="modal-header">
                     <span class="close">&times;</span>
@@ -328,7 +328,7 @@
         })
 		
 		function addResult($match_id){
-            var match_id = $match_id;
+            var match_id = $match_id;alert(match_id);
             document.getElementById("matchid").value=$match_id;//赋值个弹窗
             $(":input").val(""); 
             $.ajax({