Good day!
Can you please tell whether it is possible to make the commands in C # run first (the page code in the handler, for example), then the JavaScript , and then the commands in C # again. Schematically as follows:
asp-команда 1; asp-команда 2; asp-команда 3; javascript asp-команда 4; asp-команда 5; If you write the code as I have indicated here, it turns out that asp-commands 1-5 will be executed, and after that only javascript. I just want to make sure that a confirmation-message appears to the user, and when I clicked on the "OK" button, commands 4-5 were executed, and not on "Cancel". Tell me, please, in what direction to dig!