Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

array index value....

skudJul 21 2011 — edited Jul 25 2011
Hi,

How to find the array index value using javascript?

I have sql report region,i used apex_item, i want to find the array index value of a field in each row.

i tried to display index value of current record.i.e if im in first record when i execute below code i want to display value *0* for second record display *1* ,but below code not display the value.
var x=document.getElementsByName("f01");
var index = array.indexOf("x");
Thanks ...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2011
Added on Jul 21 2011
3 comments
365 views