Disable the form elements you don't want submitted.

On Jul 19, 3:07 pm, Micky Hulse <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am working on a search form where I need to convert the spaces of
> the submitted data (using GET form method) to +...
>
> For example:
>
> Search term: dog cat horse     whale
>
> would be
>
> Search term: dog+cat+horse+whale
>
> Any tips for doing this using jQuery?
>
> Additionally, is there a good way (using jQuery) to not submit certain
> fields? For example, when I submit my form using GET form method, I
> see all of the unwanted fields showing up in the resulting URL search
> page.
>
> I assume that probably the best solution is to use two different
> forms... But if I can avoid re-tooling my current single-form setup
> (using jQuery), that would be the best! :)
>
> Thanks in advance!
>
> Cheers,
> Micky

Reply via email to