欢迎来到俊杰的博客,你的关注和点赞是我前进的动力

jquery model 框设定

https://www.bootcdn.cn/   国内网址引用

 

js

function searchItemInfo(conditionNo,lotCD,itemKey) {

var conditionNos=conditionNo+":"+itemKey;

$('#H5').html('<spring:message code="W030100040"></spring:message>');

//这里需要跳转响应的页面 写在controller

$('#detailModel iframe').attr("src",

"${pageContext.request.contextPath}/W04053ItemInformations/initSearch?conditionNo="+conditionNos+"&lotCD="+lotCD);

$('#detailModel').modal('show');

}

<body>

<a onclick="searchItemInfo('${item.conditionNo}','${item.lotCD}','${item.itemKey}');">

modol 页面

<!-- iframe?-->

<div class="modal fade" id="detailModel" tabindex="-1" role="dialog" aria-labelledby="picSeleclModalLabel" aria-hidden="true" data-backdrop="static">

        <div class="modal-dialog" style="width :65%;"> <div class="modal-content">

        <div class="modal-header">

         <button type="button" class="close"

                                  data-dismiss="modal" aria-hidden="true">&times;</button>

          <h4 class="modal-title" id="H5"></h4> </div> <div class="modal-body">

          <iframe name="iframe" src="" frameBorder="0" style="height:200px;width :80%;">

          </iframe>   

          </div>

        </div>

      </div>

    </div>

</body>

参考样式

 

 

posted @   -嗯哼-  阅读(1998)  评论(0编辑  收藏  举报
编辑推荐:
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
点击右上角即可分享
微信分享提示