Pleasure resort of Gleam™

<script language=javascript>
function disableCheck(obj) {
    if (obj[obj.selectedIndex].className=='disabled') {
        alert("선택하신 품목은 현재 절판입니다.");
        for (var i=0; obj[i].className=="disabled"; i++); obj.selectedIndex = i; return;
    }
}
</script>
<style type="text/css">
    ion.disabled { color: lightgrey; }
</style>

신발치수:
<select onChange="disableCheck(this)">
    <option value='1'>260</option>
    <option value='2' class=disabled>270</option>
    <option value='3' class=disabled>280</option>
    <option value='4'>290</option>
</select>
From: 뉴스그룹 falconer
Example: 보기

Comment +0