How can I pass a value to a javascript function?
<p>I have a function like this:</p>

<pre><code>retrieveData();
</code></pre>

<p>and then javascript code like this:</p>

<pre><code>var retrieveData = function ()
        {
            function () { $('#updater').show(); }
            $.post('......
</code></pre>

<p>This is I think a simple question but how can I pass an argument to the retrieveData function and have it availabe for use in the code following the .post ?</p>
