I'm working on asp.net page wich contain a Multiview control and some wizard steps. I've got ten couple of textboxes named like TextboxA[i] and TextBoxB[i] and a counter. Foreach couple of not empty textboxes I want my counter++.
On server side I would be able to write in TextboxA[i] and TextboxB[i] onTextChange event something like
if(String.IsNullOrWhiteSpace(TextboxA[i]))
counter++;
Not so good... I've to increment counter on client side using javascript but - if I have - I don't know how. Please, can anyone help me?