Trying to hide a button element based on a string query in the URL using javascript or JQuery
If I have a URL... for ex:
https://xxxxxx.com/xxxxxx.aspx?UserID=12345&type=ABCDE=true
The button:
<button class="smallButton"> </button>
How do I hide the button if ABCDE= true and show if it's not? I read other posts but they didn't seem to work. Because of the "&" and the two "=" in the string, it's a little different than the example's I've seen. Any help is appreciated. Thank you.