건국시 국가색

This commit is contained in:
2020-05-04 21:02:46 +09:00
parent 73e5f5d6ad
commit a688b6fdce
2 changed files with 23 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
jQuery(function($){
function changeNationColorPlate(){
var $this = $('#colorType');
var $option = $this.find('option:selected');
$this.css({
'background-color':$option.css('background-color'),
'color':$option.css('color')
});
}
$('#colorType').change(function(){
changeNationColorPlate();
});
changeNationColorPlate();
});