Answer the question
In order to leave comments, you need to log in
How to hang two events on a button, first refresh the page and then calculate the calculator?
Good day! Tell?
I have a button that performs all sorts of checks, calculations, and so on. I would like that when you click on it, the page is first updated, and then the results of the calculation are displayed.
Here is a non-working example:
<INPUT onclick=window.location.href="test.html"; compute(this.form) type=button value="Рассчитать" id="button1">
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question