시즌 별 검색 기능 추가, 기본 값으로 현재 시즌 표기

This commit is contained in:
Hide_D committed 2019-06-18 03:30:09 +09:00
1 parent 28de7c517b
commit 701355beb3
3 files changed
+38 -20

No files matched your search

+6 -3
View File
@@ -1,7 +1,10 @@
jQuery(function($){
$('#by_scenario').change(function(){
var scenarioIdx = $(this).val();
$.redirect('a_hallOfFame.php', {scenarioIdx:scenarioIdx}, 'get');
var $this = $(this);
var scenarioIdx = $this.val();
var seasonIdx = $(this).find('option:selected').data('season');
$.redirect('a_hallOfFame.php', {scenarioIdx:scenarioIdx, seasonIdx:seasonIdx}, 'get');
})
//$.redirect("processing.php",{ commandtype: commandtype, turn: turn}, 'post');
});