jquery form post not worked
<p>I want post a form with jquery, but my code not work. after I submit it, my page will refresh, where is the problem? wait for a help.</p>

<p>jquery code</p>

<pre><code>function submitForm() {
        var par1 = $('input[@name=my_radio][@checked]').val();
        var par2 = $('input[@name=title]').val();
        var par3 = $('input[@name=content]').val();
            $.ajax({
                url: "r8.php", 
                dataType: "html",
                type: 'POST', 
                data: "submit=" + par1 + "&amp;title=" + par2 + "&amp;content=" + par3, 
                success: function(data){ 
                    $("#response").html(data);
                    $('input[@name=title]').html('');
                    $('input[@name=content]').html('');
                }
            });

        return false;
    } 
</code></pre>

<p>html code:</p>

<pre><code>&lt;form method="post" id="post_form" name="post_form" onsubmit="return submitForm();"&gt;
    &lt;label&gt;1: &lt;input type="radio" name="my_radio" value="1" checked /&gt;&lt;/label&gt;   
    &lt;label&gt;2: &lt;input type="radio" name="my_radio" value="2" /&gt;&lt;/label&gt; 
    &lt;input id="title" name="title" type="text"&gt;
    &lt;input id="content" name="content" type="text"&gt;
    &lt;input type="submit" name="my_submit" id="my_submit" value="submit" /&gt;
&lt;/form&gt;
&lt;div id="response"&gt;&lt;/div&gt;
</code></pre>

<p>and r8.php code</p>

<pre><code>&lt;?php
if($_POST['submit']!=''){ 

    echo $_POST['title']."|".$_POST['content']."|".$_POST['submit']."|".time(); 

}
?&gt;
</code></pre>
