jQuery - How to hide an element that is not contain the specific class
<p>Suppose I have the html code below, I want to ONLY display the "p" element with class="go-1", it is not good to write the statement to hide the element with class="2", class="3", class="100"... how can I write it in a smart way?</p>

<p>The statement can be say as "if "p" class not equal to "go-1" then hide it"<br />
Thanks</p>

<pre><code>&lt;p class="go-1"&gt;&lt;/p&gt;
&lt;p class="go-2"&gt;&lt;/p&gt;
&lt;p class="go-3"&gt;&lt;/p&gt;
...
&lt;p class="go-100"&gt;&lt;/p&gt;
&lt;p class="go-1"&gt;&lt;/p&gt;
&lt;p class="go-2"&gt;&lt;/p&gt;
&lt;p class="go-3"&gt;&lt;/p&gt;
...
&lt;p class="go-100"&gt;&lt;/p&gt;
&lt;p class="go-1"&gt;&lt;/p&gt;
&lt;p class="go-2"&gt;&lt;/p&gt;
&lt;p class="go-3"&gt;&lt;/p&gt;
...
&lt;p class="go-100"&gt;&lt;/p&gt;
</code></pre>
