PDA

View Full Version : how compatible is Jscript????


MAD>DOG part deux
11-01-2001, 02:32
like does the bloody stuff work on Netscape Nav???

..i would rather use Jscript than Javascript, but does it work on old Navvy???? anyone know??? :)

schmoely
11-01-2001, 13:09
AFAIK, JScript was Microsoft's "version" of Netscape's JavaScript.

The two were originally supposed to be compatible... However, because the two companies released their browsers at different times, the standards didn't match, and since then things have gone pants-up.

If you're essentially referring to how differently the document object "works" in the two browsers, then there are wrapper scripts out there which allow you to use a consistent interface (i.e. document.layers[] in IE and document.all[] in Navigator), but it's been far too long since I played with that stuff so I couldn't give you any links I'm afraid. I'm sure Altavista could tho.

Hope this helps,
J