correct your JScript array indexing:
orderdate[i].text
KjellSJ
http://kjellsj.blogspot.com
> Hi all,
> I want to capture the date value in repeating section thru jscript
[quoted text clipped - 24 lines]
>
> "Object Required" here xpath is correct. Could you please help on this
claudia - 23 May 2005 13:53 GMT
Thanks Kjells.
Now i have got the solution. In my jscrip code I changed the forloop like
this .
var count=XDocument.DOM.selectNodes(//xpathforlineitem)
var counter=count.length;
for(i=0;i<=counter-1;i++)
{
var orderdate=XDocument.DOM.selectNodes("//xpath");
XDocument.UI.Alert(orderdate(i).text);
}
here counter is nothing but no of rows /lineitem in the repeating section.
now it is working.
Thanks

Signature
claudia
> correct your JScript array indexing:
> orderdate[i].text
[quoted text clipped - 30 lines]
> >
> > "Object Required" here xpath is correct. Could you please help on this