
Pressing return on a search on the actual search page works fine.
Can anybody point me in the right direction, please?
Many thanks
Code: Select all
<script>
$('#search input[name=search]').keypress(function(e) {
if(e.which == 13) {
$('#search .button-search').trigger('click');
}
});
</script>
Opencart Options Pro, Reward Points For Review, DISQUS Comment Form,
Dolrich Fortich - Freelance web developer
Users browsing this forum: Majestic-12 [Bot] and 122 guests