How to correctly display the numbers for each table row added
<p>I have a slight problem with my application. What is suppose to happen is that when the user selects an option and answer and submits it, it will add a new row. The problem is that the question number is suppose to be +1 every time a new row is created so that it goes question number 1 for row 1, question number 2 for row 2 and etc. Instead it is just displaying the number 1 for each row under the question number column. </p>

<p>How can I get it to display 1,2,3 etc for the question No for each row added.</p>

<p>To use the jsfiddle app do this:</p>

<p>open grid and select option "3", type in the number 1 in the "Number of Answers" text-box and select Button "A". Then click on "Add Question" and a new row is added.</p>

<p>"qnum" in the insertQuestion(form) function controls the question number and the insertQuestion(from) function can be found near the bottom of the javascript code and this function adds the new rows in the table.</p>

<p>Code is in jsfiddle, click <a href="http://jsfiddle.net/YTh5Y/4/" rel="nofollow">here</a></p>

<p>Thanks</p>
