I want to submit html forms present in an array. But the problem is only last form is actually posted to server. All other forms do not reach server. Any hint what I am doing wrong here?
if (numberOfRows > 0) {
for (var i = 0; i < numberOfRows; i++)
{
alert('submitting form ' + i);
submittedForms[i].submit();
}
}
}