Counting classes from an external page with JQuery
<p>I have a javascript file that needs to count how many classes (.wrapper) there are in a external html page.</p>

<p>So far i have been using this for a count (it was previously all on the same page).</p>

<pre><code>var adCount = $('.wrapper').size();
alert(adCount);
</code></pre>

<p>But i can't seem to find anything that would allow me to run this statement on a different page than the code is runing on. I was hoping to add something like this.</p>

<pre><code>var adCount = $('js/sliderExternal.html .wrapper').size();
alert(adCount);    
</code></pre>

<p>They are in the same directory but I'm keeping the pages seperate as the external page needs to be updated constantly and i don't want it in the middle of a page of code. (This page may be updated by people who don't code at all). Anyway, any help on this would be much appreciated.</p>

<p>If you need any more information ask away!</p>

<p>Thanks.</p>
