I have a url format http://www.xyz.com/DisplayPost.php?postid=200
On the page, I have a div called div1 which gets it data from Google Adsense (script).
Here's what I want to do:
Start by hiding the div. Then I want to detect if the url does not have "postid=250" in it and display the div.
How can I do it using jQuery. What css attribute to use to open the page by hiding the div and then displaying it based on the condition
Want to know the right way to do it.