Arcmap内容列表刷新ILayer pLayer = pFDOGLayer as ILayer; if (!pLayer.Visible) { pLayer.Visible = true; IMxDocument mxDocument = m_application.Document as IMxDocument; mxDoc
上传原理很简单就是利用表单的打开方式为iframe的name名,这样就可以在当前页面的iframe打来了,实现文件上传,再利用js返回上传结果. form target .在 action 属性中规定的页面会在新窗口中打开.如果是iframe,则在此iframe中打开. phpAjaxUpload.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/T
//打开子页面 var url=children_url;window.open(url) //刷新parent页面 var url=parent_urlfunction refresh(url){ if(window.opener){ if(window.opener.reload){ try{ window.opener.reload(); }catch(e){} } w
//取得整个HTML格式 var f = $(window.frames["ReportIFrame"].document).contents().html(); 或者 $("#iframe").contents().html(); //取得文本格式 var f = $(window.frames["ReportIFrame"].document).contents().text(); 或者 $("#iframe").cont