如何使jsp包含jsp页面的同时可以控制另一个jsp内容的显示_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:57:22
Original
1084 people have browsed it

我有两个jsp,一个是index.jsp 另一个是dialog.jsp,在dialog.jsp中是一个div的弹出框,现在想达到的效果是,在index.jsp中点击按钮,通过jquery使dialog.jsp的div弹出框显示在index.jsp中,div的显示是可控的。
我之前用了window.open的方法,但是谷歌浏览器不能设置窗口的resizable,和location地址栏,所以只能求大家帮帮忙,谢谢啦!


回复讨论(解决方案)

把dialog这个页面 的内容,不要单独放一个页面。直接放到index.jsp中。这样才能控制。

问题解决!谢啦!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!