How to select a particular next button in form wizard
<p>I have been using a form wizard from the following link
<a href="http://www.jquery-steps.com/Examples" rel="nofollow">http://www.jquery-steps.com/Examples</a></p>

<p>I would like to do something in JavaScript when the user click the second next button.</p>

<p>I used tried the following code</p>

<pre><code>$('a[href="#next"]:nth-child(2)').click(function() {
    alert( "Second next button was called." );
});
</code></pre>

<p>But for some reason, the function triggers in every steps. I want only that particular next button to trigger the function.
How do I do it??</p>