如何在另一个页面上执行的点击一个页面的JavaScript的 [英] how to execute javascript of one page on click in another page

查看:130
本文介绍了如何在另一个页面上执行的点击一个页面的JavaScript的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题是我有一个页面A.aspx有脚本,在其中将创建一个标签。从A,我打开另一个页面B.aspx。

The thing is I have a page A.aspx there is script in that which will create a tab. from A I'm opening another page B.aspx .

当我在B.aspx点击一个按钮,我想是。在A.aspx脚本应该执行。否则在A.aspx其中调用脚本应执行链接。

What I want is when I click a button in B.aspx . The script in A.aspx should execute . or else the link in A.aspx which call that script should execute ..

推荐答案

你不应该这样做。这是不安全的。

you should not do this. It is insecure.

这篇关于如何在另一个页面上执行的点击一个页面的JavaScript的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆