Click here to Skip to main content
15,880,469 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone!

I'm not a coder and I'm just trying to learn some basics. I have a wordpress site with a search form but the button to click and get result, is not working.

I had some problems with other plugins, so I'm using jquery 1.6.0 thats every other things works fine. www.briquesi.com.br/fatornobre

Here is the code of the button.. Is this information enought to help me?


JavaScript
jQuery('#header_search_button').click(function(){
                            if ((jQuery('#s').val() !='') && (jQuery('#s').val() != 'buscar')){                             
                                jQuery(this).parents('form').trigger('submit');
                            }
                        }


Thanks for your attention!
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900