I\'m developing an application (a kind of social network for my university). I need to add a comment (insert a row in a specific database). To do this, I have a HTML form in
You can add an onclick function to your submit button, but you won't be able to submit your function by pressing enter. For my part, I use this:
Your Name
Hope it helps.