Jquery: how to trigger click event on pressing enter key

try out this…. $(‘#txtSearchProdAssign’).keypress(function (e) { var key = e.which; if(key == 13) // the enter key code { $(‘input[name = butAssignProd]’).click(); return false; } }); $(function() { $(‘input[name=”butAssignProd”]’).click(function() { alert(‘Hello…!’); }); //press enter on text area.. $(‘#txtSearchProdAssign’).keypress(function(e) { var key = e.which; if (key == 13) // the enter key code { $(‘input[name = … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)