Hide/show a icon depending upon the location.search?
<p>Let us say i have a page <a href="http://www.abc.com/xyz.html" rel="nofollow">http://www.abc.com/xyz.html</a> and i am going to access this page in two ways</p>

<ol>
<li>simple as it is </li>
<li>I will append some stuff to the url e.g. <a href="http://www.abc.com/xyz.html?nohome" rel="nofollow">http://www.abc.com/xyz.html?nohome</a> by just putting  the value ?nohome manually in the code.</li>
</ol>

<p>Now i will add some javascript code something like this </p>

<pre><code>$(document).ready(function () { 
if (location.search=="?value=nohome") {
        // wanna hide a button in this current page
    }
    else {
       // just show the original page.
    }
}); 
</code></pre>

<p>Any help will be appreciated. </p>
