把第2个函数放在第1个函数的后边触发,也就是
a(form名);
document.form.submit();
把第二个方法放在前边,然后在提交,
说的不对不要骂我哦,重在参与
^_^

解决方案 »

  1.   

    <input type="submit" onclick="return CheckInput()&&a(this.form)" />
      

  2.   

    obj.attachEvent("onclick",fun1);
      

  3.   

    <input type="submit" onclick="return a(this.form)&&CheckInput()" />建议
    function a(f){
    f.p1.value=f.sfbh.options[f.sfbh.selectedIndex].text;
    f.p2.value=f.dqbh.options[f.dqbh.selectedIndex].text;
    f.p3.value=f.xsbh.options[f.xsbh.selectedIndex].text;
    return true;

    中的参数f在函数实现中具体化,不要用参数,可读性好点,本来你这个form就是不能变的