平成30/ 2018-12-14 11:09
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;
        }
    }
}


選択