how to find if an element belongs to an array in JS
1 posts in topic
Flat View  Flat View

Posted By:   gautam_anand
Posted On:   Wednesday, June 16, 2004 08:19 PM


Is there any way to find out if a particular element exists in an array.. i want to compare an element with the existing elements of the array to find if the element exists in the array ..i mean is there any in built function in javasript that would do the linear search and find if an element is a part of the array.


Re: how to find if an element belongs to an array in JS

Posted By:   Bhavin_Patel  
Posted On:   Tuesday, July 13, 2004 03:00 AM

I am having arrayList as a property in my formbean. I want this arrayList to be get in my javascript which is being called upon some event. How should I get this arrayList.

document.formbean.arrayList is giving error what should I do to get this arraylist in javascript.Give reply urgently.

The above parameters are just a alias not the real ones.
About | Sitemap | Contact