James,

  I guess that you have to count down in your for-loop. You modify the
  DOM while iterating over the nodes, so the model changes while you
  are working at it. If you start with the last element, you don't
  mess up the references.

  for(var j=inputs.length-1; j>=0; j--) { ... }

regards

  Martin

 





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to