日期:2014-05-16 浏览次数:20336 次
<script type="text/javascript">
var vpcmid = "<%=vpcmid%>";
var vpctid = "<%=vpctid%>";
$(function() {
document.getElementById("uploadParams").innerHTML("<input type='hidden' name='vpcmid' value='"+vpcmid+"' /> \
<input type='hidden' name='vpctid' value='"+vpctid+"' />"); // ①
function submitUploadInfo() {......}
});
<body>
<div id="uploadInfoPanel" style="padding: 5px 0px 0px 5px;">
<form id="uploadInfoForm" name="uploadInfoForm" action="post" enctype="multipart/form-data">
<div id="uploadParams"></div>
</form>
</div>
</body>
window.onload = function() {
document.getElementById("uploadParams").innerHTML = "<input type='hidden' name='vpcmid' value='"+vpcmid+"' /> \
<input type='hidden' name='vpctid' value='"+vpctid+"' />"// ①
function submitUploadInfo() {}
}