javascript long list of parameter; looking for alternative
<p>I'm writing a javascript function that has a pretty long list of parameters:</p>

<pre><code>FormatGrid(ID, BackColor, SideColor, HiddenColor, SmallTextClass....) 
</code></pre>

<p>It works well but it's getting somewhat painful when calling this function to remember each parameter and the order they go in because the function takes a total of 9 parameters (and I might add 2 more).</p>

<p>I'm wondering if there's an elegant solution to this.</p>

<p>Thanks for your suggestions.</p>
