Use onkeypress . Check if the pressed key is enter (keyCode = 13). if yes, call the searching() function.
HTML
JAVASCRIPT
function handleKeyPress(e){
var key=e.keyCode || e.which;
if (key==13){
searching();
}
}
Here is a snippet showing it in action: