[Javascript] Same-named functions (was linkonclick=location.hrefnot working)

Chris T christ at saeweb.com
Tue Mar 30 12:40:30 CST 2004


> The irritation of adding or omitting the end-of-line semicolon
> in the wrong language is motivation enough...

Easy way to get around that. Drop the semi-colons all together :)

It's always the ElseIf and else if that get me time and time again. Most
other things stay straight.

By the way, this is WAY off-topic, but you say you're doing a bit of work
with server-side VBScript. Do you deal with Classes and creating instances?
I've recently adopted this technique (didn't know it was around prior to
VB.Net) and find everything so much easier to code/plan now.  If you don't,
but would like to learn more about it, let me know. I'll share what I can.

Chris Tifer




More information about the Javascript mailing list