日期:2014-05-17  浏览次数:20630 次

Java html中bodyonload()方法
后台:request.setAttribute("kotsukikanId", kotsukikanId);

        request.setAttribute("isLinkFlg", isLinkFlg);



  前台<body onload="showMsgOnSuccess('${isLinkFlg}','${kotsukikanId}')">



  JS:

$(function() {

function showMsgOnSuccess(isLinkFlg,kotsukikanId) {
................ 

  }
}