I have this line of Javascript jQuery code
$.post('/blah', { comment_id: 1, description: ... });
However, what I really need is the ability to change comment_id to something else on the fly, how do I make that into a variable that I can change?
EDIT
Clarification, I meant changing the value of comment_id to say photo_id, so the left side of the assignment.
Use a javascript variable: https://developer.mozilla.org/en/JavaScript/Guide/Values,_Variables,_and_Literals
EDIT:
EDIT 2: