onpropertychange="show_father();"
你在函数里alert一下  看看调用了没有
如果没调用就用
onpselectchange="show_father();"

解决方案 »

  1.   

    我在函数里加了个alert("");,证明了每次select的值变化时都会执行show_father(),可是该函数并没有起到它应起的作用。
      

  2.   

    我把display属性换成了visibility属性,现象还是完全一样的
      

  3.   

    你没给option设置value:
    <form name="add_column">
    <select name="generation" onpropertychange="show_father();">
    <option value="1" selected="selected">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    </select><input type="text" name="father" style="display:none" />
    </form><script>
    function show_father(){
    if(document.add_column.generation.value == "1"){
      document.add_column.father.style.display = "none";
    }else{
      document.add_column.father.style.display = "block";
    }
    }
    </script>
      

  4.   

    dh20156(风之石) 兄说的没错,加上value后问题解决了。哎……几年前学的html快忘光了……