Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
what exactly is JavaScript?
What I understand is that JavaScript is completely a client side script just sent as a plain text with a HTML/XHTML. The computing is totally client side. But this script seems to have more power than I anticipated.
Like in ASP scripts, I used to write dynamic code to create dynamically html controls, but the thing is the server side script that talks to the client ( i mean the html controls on clients browser ), does know the existence of certain controls.
But with javascript executed on client side, that creates such dynamic controls, how does server code know how the existence of these elements, leave about the way we use the input actually in our code.
Does it mean we have to write dynamic code that compliments such dynamic code by the JavaScript always?
2 Answers
- Anonymous2 decades agoFavorite Answer
See Wikipedia. http://en.wikipedia.org/wiki/JavaScript
Especially check out the links to Server-side and Client-side scripting under See Also
Source(s): http://en.wikipedia.org/wiki/JavaScript - 2 decades ago
JavaScript
A popular scripting language that is widely supported in Web browsers and other Web tools. It adds interactive functions to HTML pages, which are otherwise static, since HTML is a display language, not a programming language. JavaScript is easier to use than Java, but not as powerful and deals mainly with the elements on the Web page. On the client, JavaScript is maintained as source code embedded into an HTML page. On the server, it is compiled into bytecode (intermediate language), similar to Java programs.
JavaScript evolved from Netscape's LiveScript language. First released with Navigator 2.0, it was made more compatible with Java. JavaScript does not have the programming overhead of Java, but can be used in conjunction with it. For example, a JavaScript script could be used to display a data entry form and validate the input, while a Java applet or Java servlet more thoroughly processes the information. JavaScript is also used to tie Java applets together. See JScript, Java, Java applet, servlet and VBScript.