Basically, I have a search box. Once clicked, the value within the search box would be sanitize and then redirects as a Get Var rather than a Post.
I have one method of taking the User's Input value and redirecting to what they want to search (But it turns into a Post Method).
I want to achieve the following:
- User Input Value: "I am Searching"
- User/Web Client (Javascript) takes User Input Value, sanitize it for URL, and redirects.
- User is taken to: example.com/search/i-am-searching
Rather than:
- User Input Value: "I am Searching"
- Server Side takes Post Value of "I am Searching" then redirects.
- User is taken to: example.com/search/i-am-searching