0

How can i create 2 link to act upon 1 button. In a way that if a user clicks the button, it will run two links at once.

27th Jul 2020, 2:54 PM
henry okafor
5 ответов
+ 3
That's backend-stuff. The link you use as action / formaction should lead to the script, which handles both, the login and the messaging / notification.
27th Jul 2020, 3:14 PM
Sandra Meyer
Sandra Meyer - avatar
0
why not create multiple links??? or multiple buttons in html?
27th Jul 2020, 3:09 PM
Killian Fortman
Killian Fortman - avatar
0
but is it possible to create 2 link to act upon 1 button in HTML. I want to create a button to login on my code. and I also want the button to send a notification message to me once its clicked
27th Jul 2020, 3:11 PM
henry okafor
0
as far as i know you cant. but you can send a post request to say code.php which will can then notify you. i am not the best with php sorry
27th Jul 2020, 3:13 PM
Killian Fortman
Killian Fortman - avatar
0
<a href="https://google.com" onclick="open('https://fb.com');">Click to open Google and Facebook</a>
27th Jul 2020, 3:56 PM
Calviղ
Calviղ - avatar