Thanks in advance!
OpenCart.com only. You therefore better contact Journal Support
on such: https://support.journal-theme.com
Or then, get paid Support, by posting such in the commercial
Section of this Forum.
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Code: Select all
$('#search input[name=\'search\']').on('keydown', function(e) {
if (e.keyCode == 13) {
$('header #search input[name=\'search\']').parent().find('button').trigger('click');
}
});
Code: Select all
$(document).bind('keypress', function(e) {
if(e.keyCode==13){
$('#button-filter').trigger('click');
}
});
Code: Select all
$('#button-filter').on('click', function() {
var url = window.location.href;
var url2 = url.split( '&' )[0];
var url3 = '';
var url3 = url3+'index.php?route=product/category';
if (url2 ==url3) {
var url = url;
}else{
var url = 'index.php?route=product/search';
}
.............bla, bla bla
location = url;
});
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I can see these 3 keydown events for his <input name="search" type="text" ...> element:
Code: Select all
$('#search input[name=\'search\']').on('keydown', function(e) {
if (e.keyCode == 13) {
$('heder #search input[name=\'search\']').parent().find('button').trigger('click');
}
});
Code: Select all
$search.on('keydown', function (e) {
if (e.keyCode === 13) {
$('.search-button').trigger('click');
}
})
Code: Select all
function() {
return a.apply(b || this, e.concat(d.call(arguments)))
}
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
On journal demo enter key is working properly.
https://www.journal-theme.com/8/
Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature
on the search page maybe, not on the home page, that only has one.I can see these 3 keydown events
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
maybe it is part of that filter module which screws with the normal search.Did he modifed anything himself in the code?
in any event, 70% of all devices are touchscreen nowadays and they have no enter key so just let it go.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Users browsing this forum: No registered users and 6 guests