On the first page:
<button type="button" onclick="myFunction()">click</button>
Then on another page:
myFunction() {
alert("working");
};
This is the receiving page.
- all the basic tags
<script>
function alert() {
alert("The Link Has Been Successful");
}
</script>
The question is: How do I call the other function on the other page to alert that page <button onclick="????">
?
<body>
<button onclick="???" type="button">Alert on the other page</button>
</body>