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设为该弹出窗口的内容。

posted @ 2015-11-23 18:56  一天一夜  阅读(2600)  评论(0编辑  收藏  举报