Javascript associative array problems
<p>i have a function </p>

<pre><code>var myarr[] =new Object();
  function myfunction(id,msg)
 {
    myarr[id,msg]
 }
</code></pre>

<p>I am trying to add msg with id as a key...but its not working...plz help</p>
