little mistake on my jquery attempt this
$('buttonsmp').click();

should be
$('#buttonsmp').click(); (the id of the button to be clicked)

> Jquery implementation
>
> $(document).ready(function() {
>   $("#searchtxt").keydown(
>      function(e){
>        var key = e.charCode || e.keyCode || 0;
>        $('buttonsmp').click();
>      }
>   );
>

Reply via email to