I have a URL like below.
something.com/TaskHandler/search.do?action=search&category=basic&page=1&sortBy=NAME&Ascending=true&showHiddenElements=false
I want to replace the value of parameter showHiddenElements to some new value.
for e.g. exising value in URL -> showHiddenElements=false
I want to change it through JavaScript to -> showHiddenElements=true
Please advise.
Edit:
showHiddenElements may not always be false. And In some cases it may not be available.
showHiddenElementsmay not always befalse. Or it may not be available at alltrue? If it's always going to be true why can't you just ignore it and assume it's true?trueorfalse. If its not available, we just need to add a new one astrue.