Server IP : 149.202.105.228 / Your IP : 216.73.216.134 Web Server : Apache System : Linux webm129.cluster030.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : atfycaf ( 116275) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/a/t/f/atfycaf/www/admin/js/jsF/ |
Upload File : |
$(document).ready(function(){ var dateFormat = "dd/mm/yy"; $(".matchDate").each(function() { $(this).datepicker({ changeMonth: true, changeYear: true, firstDay: 1, dateFormat: dateFormat, onSelect: function() { var thisID = $(this).data("mid"); var thisDate = $(this).val(); $.ajax({ type:"POST", url: "leagueEdit-2-Data.php", data: "mID=" + thisID + "&tD=" + thisDate, cache: false, success: function(updateDate) { } }); } }); }); $(".matchVenue").each(function() { $(this).selectmenu({ change: function() { var thisID = $(this).data("mid"); var thisVenue = $(this).val(); $.ajax({ type:"POST", url: "leagueEdit-2-Data.php", data: "mID=" + thisID + "&tV=" + thisVenue, cache: false, success: function(updateVenue) { } }); } }); }); $(document).on("change", ".teamName", function() { var thisID = $(this).parents(".ui-sortable-handle").attr("id"); var thisTeamName = $(this).val(); $.ajax({ type:"POST", url: "leagueEdit-2-Data.php", data: "fID=" + thisID + "&tTN=" + encodeURIComponent(thisTeamName), dataType:"JSON", cache: false }); }); $(document).on("change", ".fixtureRinkPts", function() { var thisID = $(this).parents(".ui-sortable-handle").attr("id"); var thisScore = $(this).val(); $.ajax({ type:"POST", url: "leagueEdit-2-Data.php", data: "rS=" + thisID + "&tS=" + thisScore, dataType:"JSON", cache: false, success: function(updateRScores) { var thisRScore = updateRScores.thisRScore; var otherInput = updateRScores.otherInput; var otherRScore = updateRScores.otherRScore; $("#" + thisID + " .fixtureRinkPts").val(thisRScore); $("#" + otherInput + " .fixtureRinkPts").val(otherRScore); } }); }); $(document).on("change", ".fixtureScore", function() { var thisID = $(this).parents(".ui-sortable-handle").attr("id"); var thisScore = $(this).val(); $.ajax({ type:"POST", url: "leagueEdit-2-Data.php", data: "sS=" + thisID + "&tS=" + thisScore, cache: false, success: function(updateSScores) { } }); }); });