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.
我有一个可以在 Firebug 控制台中运行的操作脚本,但我想使用 html 按钮启动它。
我该怎么做呢?
如果你想从其他框架访问属性,你可以用类似的模式来做:
// This is our frame 1 function doSomething() { // ... } // This is our frame 2 parent.frames[0].doSomething();