Hi,
<input type="text" name="mark1"> (just say i have four of these in the same page)...i am supposed to send 4 elements with the same name to the next page. Each of these element will have a number input from the user & when it is submitted to the next page, i have to add these numbers up & average them. That is no problem. The problem is, the number of elements are dynamically generated (from 4 - 9). how can i do the calculation ?
<input type="text" name="mark1"> (just say i have four of these in the same page)...i am supposed to send 4 elements with the same name to the next page. Each of these element will have a number input from the user & when it is submitted to the next page, i have to add these numbers up & average them. That is no problem. The problem is, the number of elements are dynamically generated (from 4 - 9). how can i do the calculation ?