I’ve tried to make my own input-box for chat-messages and a button to send the messages to a spefic channel. I’ve tried to embed it into my homepage for almost a week nos but I’m not able to make it work.
I have created a button and an input-field but I really don’t now how I can use the onclick-event of the button in that way, that it sends the text from the textfield to the chatroom.
I’ve kinda read the API but I’m really not that deep into js to completly understand it.
Is anyone out there who could provide me a working example so I can get in my head how it works? It would be great!