JSP页面向弹出窗口传递参数的简单方法


<div class="b-cont">
    <div id="describe-${item.caseId}" style="display: none;padding:0px;" class="p-case"> ${item.describe}</div>
    <p class="p-case">${fn:substring(item.describe,0,100)}<c:if test="${fn:length(item.describe)>100}">...</c:if>
        <span class="p-more" onclick="art.dialog({
                title: '描述',
                id: 'describe',
                content: document.getElementById('describe-${item.caseId}'),
                padding: 0,
                width: 600,
                height: 260
                });">
            更多>>
        </span>
</p>
</div>

在本页面设置一个隐藏的div,通过JS脚本设置该div设为该弹出窗口的内容。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM