令和2年/ 2020-04-10 18:48
JAVASCRIPT/ SELECTED


function hope1DateSelected(val){
    for(i=0;i<document.getElementById('hope1_date').length;i++){
        if(
        document.getElementById('hope1_date').options[i].value == val
        ){
            document.getElementById('hope1_date').selectedIndex = i;
        }
    }
}


選択