sending multiple comma separator value to a function
<p>I want to send multiple comma separator value to a function through javascript. The function get the first value only. Please help me to solve this.</p>

<pre><code>onclick='add_values(" + items + ");return false;'
</code></pre>

<p>Items mean '98,97,96,95..'</p>

<pre><code>function add_values(items) {
     try {
       alert(plans); // 98 only
       ...
}
</code></pre>

<p>But the function get only the first Value. 98. </p>
