平成30/ 2018-10-24 06:45
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;
        }
    }
}


選択