is the browser or server ignoring the code?
<p>i made this form:</p>

<pre><code>&lt;form id="form" name="msgform" method="" action=""&gt;
&lt;input type="text" size="40" id="msg" name="message"/&gt;
&lt;input type="submit" id="button" name="clicker" value="click" /&gt;
&lt;/form&gt;
</code></pre>

<p>and this jquery script:</p>

<pre><code>$(document).ready(function(){

$("#button").click(function(){

$("#form).submit(function(){


var submision= $("#form).val();

$.post("txt/process.php", submision, function(data){
alert(data);

});

});
});
});
</code></pre>

<p>and this is the process.php file:</p>

<pre><code>&lt;?php
echo $_POST['message'] . "";
?&gt;
</code></pre>

<p>now when i click the button the form is submited, but it sends it using the GET method because i can see it in the adress bar, but it never gets sent to the php file, and i checked to see if the names are correct and if i specify the POST method it still doesnt go to the php file.
is the server or browser ignoring the code? or am i doing the whole thing wrong?</p>

<p>thanks</p>
