How do I add parameters to an object using variables?
<p>I have this snippet of code:</p>

<pre><code>var ShopLogicOptions = {};
ShopLogicOptions.params = {orderId: "'" + JS_OrderNo + "'", cartItems:[JS_arrCartItems], subTotal: "'" + JS_SubTotal + "'",...
</code></pre>

<p>How do I correctly put variable JS_OrderNo in the position it is at?</p>

<p>The other server is receiving this: "'9134832'", </p>

<p>And it should be this: '9134832',</p>

<p>EDIT: When I document.write JS_OrderNO it looks like this 9134832, so I have to add the single quotes.</p>
