1 / 3
文档名称:

头像上传的js调用.doc

格式:doc   大小:12KB   页数:3页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

头像上传的js调用.doc

上传人:好用的文档 2021/10/21 文件大小:12 KB

下载得到文件列表

头像上传的js调用.doc

文档介绍

文档介绍:头像上传的js调用
<script type ="text/javascript"> var time = new Date().getTime(); var mpath="${my431fn:isHavePhoto(uploadLoginUrl,,myRealPath)}"; if(mpath== ''||mpath== 'null'){ mpath= '${portalLoginUrl}/sportal/skins/images/' ; }else{ mpath=mpath+time } function uploadevent(status){ status += ''; switch(status){
case '1': ('fileName').value="${nFileName}"; ('fileExt').value=".jpg"; ('sourceUrl').value="${allPath}"; var params=$("#frm").serialize(); $.ajax({ type: "post", url:'${root}/studio/SdStudio/?date='+new Date().getTime(), data:params, error: function(XMLHttpRequest, textStatus, errorThrown) { }, success: function(responseText){ var tabId = $("#studioUl a[class='on']").attr('id'); if (tabId=='hot_studio_tab') { studioListTip('${root}','hotStudio','hot','month'); }else if (tabId=='my_studio_ta