1
Good is the following, I have a chat on my site, the chat has a text field and a send button that is to send. That is, the person type in the text and then have to click on the send.
I would like to know how to get the Submit sent when you click enter. In other words, you wouldn’t have to click on the Submit button to send, but just press enter to send the message.
Code of the Submit:
<button class="btn btn-primary" type="submit" data-loading-text="<i class='fa fa-spinner fa-spin'></i> WAIT..." id="send_massage" style="margin-right:6px;">SEND</button>
Thank you, it worked perfectly.
– Gonçalo
-1, if possible add to source of that answer. After adding the font I remove the -1.
– Randrade
@So Gonçalo marks his answer as sure, bruh!!!
– StillBuggin
@Randrade I hadn’t seen it. Well, the same to me.
– StillBuggin
Font added, had forgotten to put. Good that solved your problem.
– Ricardo
Now we do! @Gonçalo!
– StillBuggin