有时候,会发现js失效 ,代码如果是如下的时候

<input type="button" onclick="change()"value="変更確認"name=""  >

 

function cancel(businessContentForm) {
    businessContentForm.action = "jobcancelConfirm.do?sa_ymd=<%=request.getAttribute("sa_ymd")%>&sa_sagyo_ymd=<%=request.getAttribute("sa_sagyo_ymd")%>";
    businessContentForm.submit();
}

 这种时候应该是调用的方法里面没有传参数,

所以进行submit的对象接受不到,就会导致这样的问题出现

相关文章:

  • 2022-02-07
  • 2022-02-26
  • 2022-02-27
  • 2022-12-23
  • 2021-12-25
  • 2021-12-19
猜你喜欢
  • 2021-12-31
  • 2021-07-13
  • 2021-12-03
  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
  • 2021-05-23
相关资源
相似解决方案