C
CWaldman
How can I check if a function exists in any of the scripts on my page?
I prefer if it can work for both Javascript & VBScript.
I prefer if it can work for both Javascript & VBScript.
CWaldman said:How can I check if a function exists in any of the scripts on my page?
I prefer if it can work for both Javascript & VBScript.
How can I check if a function exists in any of the scripts on my page?
Or perhaps
Randy said:Baconbutty said the following on 10/19/2005 7:13 AM:
Or perhaps you learn to quote what you are replying to? It is not that
difficult.
Please quote what you are replying to.
If you want to post a followup via groups.google.com, don't use the
"Reply" link at the bottom of the article. Click on "show options" at
the top of the article, then click on the "Reply" at the bottom of the
article headers.
CWaldman said:Thanks to everyone for their help. This still doesn't help me figure
out if a VBScript Sub or Function exists though. This is important
since I don't know which language the author of the page will use. Any
ideas?
CWaldman said:Thanks to everyone for their help. This still doesn't help me figure
out if a VBScript Sub or Function exists though. This is important
since I don't know which language the author of the page will use. Any
ideas?
CWaldman said:Thanks to everyone for their help. This still doesn't help me figure
out if a VBScript Sub or Function exists though. This is important
since I don't know which language the author of the page will use. Any
ideas?
<snip>... . For JavaScript, in the vast majority
of cases:
if (myFunctionName) {
// use myFunctionName
}
will do the trick.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.