Thursday, August 19, 2010

What's JavaScript&JScript? How about Web BrowsersCompability?

is JavaScript made by Netscape ? JScript made by Microsoft ?


some are mixed by those J/Javascript, some assumpt they are the same thing, does Microsoft destroy the compability of the original JavaScript made by Netscape ? is this still an issue in 2007 ? how about the J/Javascript in relation to Web 2.0 / AJAX? is Microsoft's JScript more popular than Netscape's Javascript, due to IE's more popularity? some website use the term "best viewed in IE 5/6" it's kind of dilemma, because IE is not safe/vulnerable, headacheeeeeeeeee heheheh

What's JavaScript%26amp;JScript? How about Web BrowsersCompability?
Whoa, whoa. One thing at a time. Okay, for all practical reasons, you should not code in anything but javascript. Everything that Microsoft uses (JScript, VBScript (not counting ASP), etc.) is ActiveX and is INSECURE by microsoft's own admission. They are also limited to Internet Explorer and won't work with other browsers.





Javascript is not a microsoft product, does not rely on IE, and completely compatible. It is one of the cornerstones of AJAX (AJAX stands for asynchronous javascript and xml).





As for "best viewed with IE", if it can't be viewed in firefox, chances are there's no need to view it. The only thing that firefox doesn't support that IE does is activeX, and if Microsoft admits its insecure, I don't want to be near it.





Good luck!
Reply:JScript is Microsoft's implementation of ECMAScript. JScript runs under Internet Explorer.





Javascript is a common computer programming language developed by ECMA for use in web applications primarily on the client.





Microsoft has implemented Netscape's original JavaScript specification to create a scripting language called JScript, which is the default scripting language interpreted in Internet Explorer. Like Netscape's JavaScript implementation, JScript supports the full specification of ECMAScript.





What is different is the Document Object Model (DOM) bound with JScript. While all browsers have their own implementation of DOM Level 0 (vendor-specific), Internet Explorer implemented only some of the W3C recommended DOM Levels (1, 2 and 3).


No comments:

Post a Comment