T
tigozilla
I am developing a website with ASP.NET /C#. The items will render
automatically based on their "catID". So that the URL will look similar
to the example:
http://www.domain.com/index.aspx?catID=1
http://www.domain.com/index.aspx?catID=2
http://www.domain.com/index.aspx?catID=3
I'm using a javascript layer to display some items on this page.
However, I want this layer to show only when caID=1. I'm a newbie when
it comes to javascript. So, I was trying to get the url using
"document.url" and use if statement to show/hide the layer. But that
didn't work. Can anybody help or provide some useful hints
Thank you in advance
tigo
automatically based on their "catID". So that the URL will look similar
to the example:
http://www.domain.com/index.aspx?catID=1
http://www.domain.com/index.aspx?catID=2
http://www.domain.com/index.aspx?catID=3
I'm using a javascript layer to display some items on this page.
However, I want this layer to show only when caID=1. I'm a newbie when
it comes to javascript. So, I was trying to get the url using
"document.url" and use if statement to show/hide the layer. But that
didn't work. Can anybody help or provide some useful hints
Thank you in advance
tigo