Change same div class
<p>This is my code:</p>

<pre><code>&lt;div class='silderitem'&gt;
Some Content
&lt;/div&gt;

&lt;div class='silderitem'&gt;
Another Some Content
&lt;/div&gt;

&lt;div class='silderitem'&gt;
Again Another Some Content
&lt;/div&gt;

&lt;a class="next"&gt;next&lt;/a&gt;
</code></pre>

<p>I want to change the next class when i click "next" using jquery. I tried this, but it doesn't work.</p>

<pre><code>&lt;script&gt;
$(document).ready(function(){
    var Slideshow=$('.slideritem');
    $(".next").click(function(){slideshow.next();return false});
&lt;/script&gt;
</code></pre>

<p>Can anyone tell me the solution please ?</p>
