> In typical Microsoft fashion, JScript is almost but
> not quite the same as JavaScript. However I think that
> any non-Microsoft broswer that sees
> language="JScript" is going to ignore the
> script. I think if you change this to
> language="JavaScript" it should still work
> in IE yet be more likely to work in other browsers.
Like I mentioned sometimes they referred to the language as "JScript" and sometimes "javascript". Maybe "javascript" is a more generic reference, I don't know. I didn't think the "JScript" would work in other browsers, but I was hoping. It would be nice if just referring to it as "javascript" would work in all browsers, but I don't know this to be true for a fact. I did a little research on JavaScript and found it is not a completely standardized language, so each browser may have its own interpretation. If it turns out that the syntax that I have used will work in all browsers, then getting it to work in all browsers could be doable, even if each references it differently. If this is the case, I would need to be able to identify an environmental variable that contained the name of the client browser. Then I could do something like
if (environment variable == "IE")
language="JScript"
else if (environmental variable == "Firefox")
language="Firefox's reference to JavaScript"
else if (environmental variable == "Mozilla")
etc.
.
If the syntax is different though, that would present much more of a problem.
kc
Bookmarks