<div class="cle textcenter padd_t9">
  <p id="tip_post_loan" style="display: none;color: red"></p>
  <input name="submit_post_loan" onclick="return check_other()" type="image" src="/images/all/xyb18.gif" />
</div>
在这里我有两个onclick事件  submit_post_loan(), check_other()"    我怎么才可以调用两个

解决方案 »

  1.   

    onclick="submit_post_loan();return check_other();"
      

  2.   

    submit_post_loan(), 是一个非空判断check_other()" 是一个复选框赋值!
      

  3.   

    submit_post_loan(){
         return check_other(); 
    }check_other(){
       reutn 值
    }将check_other函数的最终结果返回给submit_post_loan,然后submit_post_loan再返回给事件<input name="submit_post_loan" onclick="return check_other()" type="image" src="/images/all/xyb18.gif" />不过事件接收的参数值能是true或false,自己看着办
      

  4.   

    不行啊,上面是一个非空判断有很多return的!