Home › Forums › JavaScript › Show a hidden DIV with URL parameter › Reply To: Show a hidden DIV with URL parameter
December 2, 2017 at 8:15 pm
#263258
Kognak
Participant
Hi,
thanks for your help. I didn’t manage to use your code.
I found another way (I don’t know if it’s the best, but it works) :
if (window.location.search.indexOf('show') > -1) {
jQuery('.showhid').css({"display":"block"});
}
else {}