Want to remove empty post variables with no value, need to update windows URL with shorten version.
Prefer lightest method, can use jquery but would like an answer without any library if possible
JavaScriptjQueryHTML
Last Comment
Gary
8/22/2022 - Mon
Dave Baldwin
What are you talking about?
freshgrill
ASKER
Sorry, it should be Get method. When a user submits a form using the get method, we want to remove all the empty variables and have the url show only the variables that have values (were selected).
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.