Enter button on textbox

Is it possible that I enter some value in textbox and press Enter, a button is clicked?