从弹出窗口到文档的 jquery 操作
我有一个问题。我构建了我的网络应用程序,我需要用按钮打开弹出窗口。 当用户单击按钮时,应用程序必须更改文档中的文本(而不是弹出窗口中)。
有人有主意吗?
I have a question. I build my webapp, and i need to open poupup with buttons.
When user clicks on button app must change text in document (not in popup).
Anyone have a idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的弹出窗口仍将是文档的一部分。您将使用 css 隐藏弹出窗口,然后单击某个内容,您将像这样打开它
接下来,单击弹出窗口中的按钮,您只需更改页面上另一个 id 或类的内容,如下所示:
就这样!
Your pop up will still be a part of the document. You will hide the popup with css, and then on click on something you will open it like this
Next, on click of the button in the popup you just change the content of another id or class on your page like this:
That's all!
查看
Check