This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: How to activate the cursor within the search box when page is done loading?

Home Forums Product Support Forums Ajax Search Pro for WordPress Support How to activate the cursor within the search box when page is done loading? Reply To: How to activate the cursor within the search box when page is done loading?

#4326
Ernest MarcinkoErnest Marcinko
Keymaster

Sure, with a bit of a javascript tweak. Put this script to the footer file of your theme just before of the closing body tag:

[code] <script>
jQuery(function() {
if (jQuery(‘.probox .proinput input.orig’).length>0)
jQuery(‘.probox .proinput input.orig’)[0].focus();
});
</script>[/code]