can I use jQuery's serialize() and an additional variable in a $.post request?
<p>Currently, I have this line:</p>

<pre><code>$.post("submitmail.php", $("#contactform").serialize(), recvMailStatus);
</code></pre>

<p>I'm new to jQuery so this may be an absurdly stupid question.<br />
But I'm making this project work with or without javascript, so if a form is submitted with this function, I want submitmail.php to just echo whether or not it was successful. If the form just submits and redirects to submitmail.php, I want it to display something other than a white screen with black text saying "mail sent successfully." To do this I figured I would just <code>post</code> an extra variable "fromjs" or something so that the page can render itself accordingly. What's the best way to do that?</p>
