令和元年/ 2019-07-17 04:31
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;
        }
    }
}


選択