Hi guys.
Great site. This site has helped me many times before. But now I have a question to which I am yet to find an answer.
In a nutshell, I need to know how to check if a URL GET variable has been set, and if it has, to set the style of a DIV to display: block;
for instance: www.scott.com/competition.aspx?mode=entry
so.. the GET variable is mode and the value is entry
I would like to know how to check for that variable using javascript, then to have it change the style of my DIV with ID = "entryform" to be visible.
I know this may be a simple one.. but I just can't find anything about checking for GET variables in javascript.
I cannot use ASP, .NET or PHP to do the check.. as I'm working in an HTML template for a CMS.
Any help is greatly appreciated,
thanks in advance,
Scott