Java Script issue while submitting a form through JSP
<p>I am facing an issue when I am trying to submit a JSP page .</p>

<p>I will describe in short the scenario so that it would be clear.</p>

<p><strong>The Scenario</strong></p>

<p>I have some input elements made up in a html component  on JSP page.</p>

<p>The table has many <code>&lt;tr&gt;</code>. These <code>&lt;tr&gt;</code> have been given ids, for e.g. <code>&lt;tr id="1"&gt;</code>.</p>

<p>Now I am trying to pass a comma separated list of these tr ids to server side code or Servlet.</p>

<p>The comma separated list is formed with looping some logic on submit of JSP or more specifically a form.</p>

<p><strong>The Problem:</strong></p>

<p>When I submit the form sometimes I do not receive the comma separated values mentioned above at server side code.</p>

<p>This happens occasionally. Now when I put some delay through Java Script like <code>setTimeOut()</code> I do not face the issue.</p>

<p>So can anyone please help me guiding on this?</p>

<p>Is Java Script behavior a bit non-sequential sometimes?</p>

<p>Thanks in advance. </p>
