JavaScript on Enter
var el = document.getElementById("textarea")
el.addEventListener("keydown", (e)=>{
if(e.key === "Enter"){
// do something here
}
})
Himanshu Jangid