a small corrrection needed in jquery code snippet. . along with a small query
<p>there is this fiddle which is giving me not the desired output</p>

<p><a href="http://jsfiddle.net/8FXFE/1/" rel="nofollow">http://jsfiddle.net/8FXFE/1/</a></p>

<p>The jquery code</p>

<pre><code>$(document).ready(function () {
console.log("parsed");
$("input[name='txtNumber']").change(function () {
    console.log("changed");
    if ($("input[name='txtNumber']:checked").val() == '100') $("#output").text("Changed to 100");
    else if ($("input[name='txtNumber']:checked").val() == '200') $("#output").text("Changed to 200");
    else if ($("input[name='txtNumber']:checked").val() == '500') $("#output").text("Changed to 500");
    else if ($("input[name='txtNumber']:checked").val() == '1000') $("#output").text("Changed to 1000");
    else if ($("input[name='txtNumber']:checked").val() == '10000') $("#output").text("Changed to 10000");
    else($("input[name='txtNumber']:checked").val() == 'other')
    $("#output").text("Changed to Other");
});
});
</code></pre>

<p>the desired output is that it shall show which radio button is clicked</p>

<p>Also I have a question?</p>

<ol>
<li><p>What is the meaning of this line??</p>

<pre><code>console.log("parsed");
</code></pre></li>
</ol>

<p>Thanks in advance for your answers :)</p>
