Subj : Re: dereferenced object To : netscape.public.mozilla.jseng From : "Thibaut" Date : Sat Apr 17 2004 11:41 pm What do you mean ?? This is what you told me : >Use the JSClass.getProperty hook for childNodes' class. It should >handle id parameters for which JSVAL_IS_INT(id) evaluates to true and >JSVAL_TO_INT(id) is >= 0 and < the length of the array. i know how to get a property , when i evaluate this in my application : Node.chilNodes.item(0) it works properly. but how can I implement this : Node.childNodes[0] so that it does the same job ??? i want to tell the js engine that when i apply [index] to chilNodes (Node.childNodes[index] ) it has to call the function item(index) (Node.childNodes.item(index) ) childNodes is not an array but an object with an arrayObject as property "Brendan Eich" a écrit dans le message de news: 4080446D.3000508@meer.net... > Thibaut wrote: > > thanks i'll take a look at that. > > I'm writing my own implementation because i need to evaluate the javascript > > on webpages .I want to get links created dynamically by javascript . > > If you have a better way tell me ! > > > Which browser are you pretending to be? > > /be .