Same data from checkbox value
<pre><code>&lt;li&gt;&lt;a href="#"&gt;WSN&lt;/a&gt;
      &lt;ul&gt;
      &lt;li&gt;&lt;input type="checkbox" id="value" value="wsn/qabala.php" onchange="getline();" onclick="boxclick(this,'qabala')" /&gt; Qabala&lt;/li&gt;
      &lt;li&gt;&lt;input type="checkbox" id="value" value="wsn/ismailli.php"  onchange="getline();" onclick="boxclick(this,'ismailli')" /&gt; Ismayilli&lt;/li&gt;
      &lt;li&gt;&lt;input type="checkbox" id="value"  value="wsn/agshu.php"  onchange="getline();" onclick="boxclick(this,'aghsu')" /&gt; Aghsu&lt;/li&gt;
      &lt;li&gt;&lt;input type="checkbox" id="value" value="wsn/shamakhi.php" onchange="getline();"  onclick="boxclick(this,'shamakhi')" /&gt; Shamakhi&lt;/li&gt;
      &lt;li&gt;&lt;input type="checkbox" id="value" value="wsn/shabran.php"  onchange="getline();" onclick="boxclick(this,'shabran')" /&gt; Shabran&lt;/li&gt;
      &lt;li&gt;&lt;input type="checkbox" id="value" value="wsn/siyazan.php"  onchange="getline();"  onclick="boxclick(this,'siyazan')" /&gt; Siyazan&lt;/li&gt;
      &lt;li&gt;&lt;input type="checkbox" id="value" value="wsn/jalilabad.php"   onchange="getline();" onclick="boxclick(this,'jalilabad')" /&gt; Jalilabad&lt;/li&gt;
      &lt;li&gt;&lt;input type="checkbox" id="value"  value="wsn/masalli.php" onchange="getline();"  onclick="boxclick(this,'masalli')" /&gt; Masalli&lt;/li&gt;
      &lt;li&gt;&lt;input type="checkbox" id="value" value="wsn/lerik.php" onchange="getline();"  onclick="boxclick(this,'lerik')" /&gt; Lerik&lt;/li&gt;
      &lt;li&gt;&lt;input type="checkbox" id="value" value="wsn/yardimli.php" onchange="getline();"  onclick="boxclick(this,'yardimli')" /&gt; Yardimli&lt;/li&gt;

      &lt;/ul&gt;
</code></pre>

<p>I have changed it. It works but I get only first data. Why is this? <strong>[only wsn/qabala.php]</strong></p>
