使用链接将参数传递到页面且参数不显示

时间:2021-08-01 20:49:43
    var qrcode = obj.jsonObject;
             document.write("<form action=<%=basePath%>appointment/appointment_qrcord_add.action method=post name=formx1 style='display:none'>");
document.write("<input type=hidden name=qrcode value='"+qrcode+"'");
document.write("</form>");
document.formx1.submit();
}