function plan_select(){
estimate.action="./estimate.php";
estimate.submit_type.value="plan";
estimate.submit();

解决方案 »

  1.   

    不过建议你使用document.getElementById("Id")的形式
      

  2.   

    有的,我在js里加了句
    alert(this.document.estimate.submit_type.value);
    也能够出来提示框,出来正确的值,就是到下面
    this.document.estimate.submit();
    就挂了,提示对象不支持此属性或方法
      

  3.   

    js: function plan_select(){
    this.document.estimate.action="./estimate.php"; 
    this.document.estimate.submit_type.value="plan";
    alert(this.document.estimate.submit_type.value);//这里为止正确执行,可以出来正确的提示框
    this.document.estimate.submit();
    }
    html:
      <form method="post" name="estimate">
    <input type="hidden" name="submit_type" >
        <select name="plan" onchange="plan_select()">
                        </select>
      </form>
      

  4.   


    链接贴出来,js就写在页面里,哪位高手帮忙指点迷津阿
    https://manage.tsukaeru.net/hspc/estimate/estimate.php
      

  5.   

    没有什么错误. 它在IE 7,FireFox 2, Google Chrome中都通过了.
      

  6.   

    我的环境也是IE 7,FireFox 2,但是系统是日文的VISTA,难道是因为操作系统的问题?