how can save data in webform in database in asp.net webform on enter key press.Enter key code is 13.
on textbox if i click enter it will save in database.in webform i didn't find any keypress event.
$('[id*=txtbox]').keypress(function(e){
if (e.keyCode == 13) {
var value=document.getElementById("txtbox").value