js方法中多个参数的获取和向img标签中填充src

function toTpage(page,typeId){
    alert("page="+arguments[0]+",typeId="+arguments[1]);
}
$('#image').attr('src','<%=contextPath%>/'+img);


猜你喜欢

转载自blog.csdn.net/Amor_fatii/article/details/81065341
今日推荐