Sorry, and the source code for the function can be obtained with alert(j[x]). In this code (and that below) 'j' is the javascript object.
--rob On 7/19/07, Rob Desbois <[EMAIL PROTECTED]> wrote:
Robert, Try this: > for (var x in j) { > if (typeof j[x] == "function") > alert(x); > } > --rob On 7/19/07, S. Robert James <[EMAIL PROTECTED]> wrote: > > > Yes - what JS code allows it to see the list of all methods (and their > source code!)? > > Jack Killpatrick wrote: > > Something like this? > > > > http://www.netgrow.com.au/files/javascript_dump.cfm > > > > - Jack > > > > Robert James wrote: > > > > > > > > > Is there a way to list all the methods that a particular JavaScript > > > object has? Or is there a tool that can do this? > > > > > > > > -- Rob Desbois Eml: [EMAIL PROTECTED] Tel: 01452 760631 Mob: 07946 705987 "There's a whale there's a whale there's a whale fish" he cried, and the whale was in full view. ...Then ooh welcome. Ahhh. Ooh mug welcome.
-- Rob Desbois Eml: [EMAIL PROTECTED] Tel: 01452 760631 Mob: 07946 705987 "There's a whale there's a whale there's a whale fish" he cried, and the whale was in full view. ...Then ooh welcome. Ahhh. Ooh mug welcome.