I have two radio buttons connected to a search-field that controls what type of search the user wants.
One for regular keyword search, and another for license plate search.
The "keyword" radio button is pre-selected, but when a license plate pattern is detected, I would like to have it switched over to "licence plate" automatically using jQuery if that's possible...
The license plate pattern will allways start with two letters (A-Z), followed by five numbers (0-9) like this: "AZ12345". Possibly sepparated with a space like this: "ZA 98765".
Form method is _GET
.