Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
打开对话框时如何获取url参数?
示例文本
当对话框显示时,“ window.location.hash”是“ #&ui-state=dialog”它没有我的参数name=abc
window.location.hash
#&ui-state=dialog
name=abc
如何将我的参数发送到对话框?
我最好的建议是使用服务器端而不是客户端脚本来获取 URL 参数。