radio button checked using jQuery
<p>I'm trying to alert some stuffs when a radio button is checked but i don't know it isn't working does anyone have any idea why?
Thanks in advance.        </p>

<pre><code>&lt;html&gt;
    &lt;head&gt;
    &lt;script type="text/javascript" src="js/jquery.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
    $(document).ready(function() {
    $("input[@name='crkbrd']").change(function(){
        if ($("input[@name='crkbrd']:checked").val() == 'Upload')
           { alert("Upload Your Own Ad"); }
        else if ($("input[@name='crkbrd']:checked").val() == 'Edit')
            { alert("Edit Your Ad Here"); }
        else
          { alert("You haven't chosen anything"); }
    });

    });
    &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
    &lt;input type="radio" id="rb1" name="crkbrd" value="Upload" /&gt; Upload Your Own Ad&lt;br /&gt;
    &lt;input type="radio" id="rb2" name="crkbrd" value="Edit" /&gt; Edit Your Ad Here
    &lt;/body&gt;
    &lt;/html&gt;
</code></pre>
