<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY 
style="WORD-WRAP: break-word; khtml-nbsp-mode: space; khtml-line-break: after-white-space">
<DIV><FONT face="Trebuchet MS" color=#0000ff size=2>&nbsp;&nbsp;&nbsp; var 
ordersNumRows = 0;<BR>&nbsp;&nbsp;&nbsp; var inputFields = 
document.orders.getElementsByTagName("select")<BR>&nbsp;&nbsp;&nbsp; var numTag 
= inputFields.length;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT 
size=2>&nbsp;&nbsp;&nbsp; for (i=0; i&lt;numTag; i++) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
(inputFields[i].getAttribute("name").substring(0,11) == "products_id") 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
ordersNumRows++;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
}<BR>&nbsp;&nbsp;&nbsp; }<SPAN 
class=337023313-28092005>&nbsp;</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT size=2><SPAN 
class=337023313-28092005></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT size=2><SPAN 
class=337023313-28092005>ok, this is the&nbsp;way it works fine, since none 
of&nbsp;my other selects in the form</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT size=2><SPAN 
class=337023313-28092005>starts with 
"products_id".</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT size=2><SPAN 
class=337023313-28092005></SPAN></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT size=2><SPAN 
class=337023313-28092005>maybe there's a possibility&nbsp;to do it by changing 
the&nbsp;var inputFields?!</SPAN></FONT></FONT></FONT></DIV></BODY></HTML>