I\'m trying to modify the Orchard.Search part with the search form and button to look and behave as I want. For this I need to use some jQuery features.
Well, that script of yours needs to appear after the inclusion of jQuery, otherwise $ is meaningless. You can add your script by surrouding it with @using(Script.Foot) { ...}: