最初のページ:
<button type="button" onclick="myFunction()">click</button>
次に別のページで:
myFunction() {
alert("working");
};
これは受信ページです。
- すべての基本的なタグ
<script>
function alert() {
alert("The Link Has Been Successful");
}
</script>
問題は、他のページの他の関数を呼び出して、そのページにアラートを出すにはどうすればよい<button onclick="????">
ですか?
<body>
<button onclick="???" type="button">Alert on the other page</button>
</body>