0

How to click on a button

I want to make a login but i dont know how to click on it that the focus will end ... on C# its: If(button.click == true){ Button.focus = false; } How can I code this on JavaScript

19th Jun 2019, 3:52 PM
LauLauGaamer
LauLauGaamer - avatar
7 Answers
+ 2
<button onclick="show()">Click Me</button> <script> function show() { alert("Hi there"); } </script>
19th Jun 2019, 5:07 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar
+ 1
I can't explain to u by one example so check this : https://www.w3schools.com/css/css3_buttons.asp
19th Jun 2019, 8:54 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar
+ 1
U need to call input like this https://code.sololearn.com/WS7CEqhIzd6L/?ref=app I didn't code it in perfect way but only to show u how .
20th Jun 2019, 12:46 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar
0
Thank you!
19th Jun 2019, 5:38 PM
LauLauGaamer
LauLauGaamer - avatar
0
Wedad Saleh How can i design this button on css ?
19th Jun 2019, 7:02 PM
LauLauGaamer
LauLauGaamer - avatar
0
Wedad Saleh Where is the mistake? I dont know it sry https://code.sololearn.com/W9HvX8dcm1GS/?ref=app
20th Jun 2019, 5:57 AM
LauLauGaamer
LauLauGaamer - avatar
0
Thanks a lot !!!
20th Jun 2019, 6:15 PM
LauLauGaamer
LauLauGaamer - avatar