My first post here :)
Hello everyone,
I have two .htmls, first one is named a.html, and second one is named b.html. I want to go to b.html and call there a function after button on a.html is clicked. The function i would like to run is stored locally in b.html.
Here's the preview of what i'm trying to achieve:
<button type="button" id="rezerwacjawarriors" onclick="location.href='rezerwacja.html' AND CALL FUNCTION ON B.HTML STORED IN B.HTML AFTER LOADING PAGE;">Rezerwacja</button>
Is it even possible to do it like this?
Function i would like to call on b.html make specific div appear.
English is not my native language so im sorry for any misunderstandings and mistakes.
Thanks for help. =)