+ 1

How do website button work? If some one tapped it where does the typed mesaage go?

Some help explain his for me. If I add a Send message button to my website, how does the button work like if some one taps it, where does the message go and how do I view it?

3rd Dec 2020, 11:32 AM
Smart
3 Answers
+ 4
The <button> element is used to create an HTML button. Any text appearing between the opening and closing tags will appear as text on the button. No action takes place by default when a button is clicked. Actions must be added to buttons using JavaScript or by associating the button with a form. Check this : https://html.com/tags/button/
3rd Dec 2020, 12:03 PM
Alphin K Sajan
Alphin K Sajan - avatar
+ 1
Use the button tag Then define the onclick event Eg onclick function Then function should post the message
3rd Dec 2020, 11:37 AM
đŸ„‡đŸ‘©â€đŸ’» Kintu Michael Evans đŸ”„đŸ”„( Active)
đŸ„‡đŸ‘©â€đŸ’» Kintu Michael Evans đŸ”„đŸ”„( Active) - avatar
0
The message goes to the database.
3rd Dec 2020, 1:36 PM
Krish
Krish - avatar