Connecting Tech Pros Worldwide Forums | Help | Site Map

querying for functions in javascript

jeffrey.bigham@gmail.com
Guest
 
Posts: n/a
#1: Apr 7 '06
Hi,

Is it possible to query for defined functions in javascript?

Say something like getFunctions() and have it return an array of the
functions defined in the current javascript world. I'm looking to find
functions that I don't know the name of (therefore, not just
verification).

This comes up because in my situation I don't always know when
particular scripts will be incuded but would still like to have access
to functions contained within them when they are.

Thanks!
Jeff


Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
#2: Apr 7 '06

re: querying for functions in javascript


jeffrey.bigham@gmail.com wrote:
[color=blue]
> Is it possible to query for defined functions in javascript?[/color]

In a sense.
[color=blue]
> Say something like getFunctions() and have it return an array of the
> functions defined in the current javascript world. I'm looking to
> find functions that I don't know the name of (therefore, not just
> verification).[/color]

See the thread starting with
news:1144306199.596027.249060@e56g2000cwe.googlegr oups.com
(two days ago![1])


PointedEars
___________
[1] <URL:http://jibbering.com/faq/>
Closed Thread