<!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> var
ordersNumRows = 0;<BR> var inputFields =
document.orders.getElementsByTagName("select")<BR> var numTag
= inputFields.length;</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT
size=2> for (i=0; i<numTag; i++)
{<BR> if
(inputFields[i].getAttribute("name").substring(0,11) == "products_id")
{<BR>
ordersNumRows++;<BR>
}<BR> }<SPAN
class=337023313-28092005> </SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT size=2><SPAN
class=337023313-28092005></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT size=2><SPAN
class=337023313-28092005>ok, this is the way it works fine, since none
of 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> </DIV>
<DIV><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT size=2><SPAN
class=337023313-28092005>maybe there's a possibility to do it by changing
the var inputFields?!</SPAN></FONT></FONT></FONT></DIV></BODY></HTML>