Javascript jQuery replace a variable with a value
<p>I have this line of Javascript jQuery code</p>

<pre><code>$.post('/blah', { comment_id: 1, description: ... });
</code></pre>

<p>However, what I really need is the ability to change <code>comment_id</code> to something else on the fly, how do I make that into a variable that I can change?</p>

<p><strong>EDIT</strong> </p>

<p>Clarification, I meant changing the value of <code>comment_id</code> to say <code>photo_id</code>, so the left side of the assignment.</p>
