What is Java Script ?
It's an programming language which is used make the web page more interactive and stylish. Also its runs free on the users computer and it doesn't require any plugins to download for the users, and their many number java script which the user or a web designer can include for the web page. Mostly java scripts are used for polls and quiz. Today most browsers like safari, Internet Explorer and Firefox have in built java script plug in so when a user the enters to an page the java script will automatically runs for following page.
Also java script used in outside the web pages like in pdf files browsers and desktop widgets and today the newest VMs java script has been included for the browsers and other desktop applications.
History
Java script was developed by Brendan Eich of Netscape and it was called has Mocha, and after that it was named has Live script and then to java script. And the Live script was the first shipped in beta version for Netscape navigator 2 in 1995.Then finally Netscape joined of sun Microsoft and change the name as java script. In 1966 java script was included for internet explorer 3 and they used implementation java script to avoid trademarks. After that java script become most popular programming language between web designers and web developers. From the past and today java script is the most important thing between web developers because using java script they can add different kinds designs and style the web pages.
Real Life Usage
Disadvantages
Also java script used in outside the web pages like in pdf files browsers and desktop widgets and today the newest VMs java script has been included for the browsers and other desktop applications.
History
Java script was developed by Brendan Eich of Netscape and it was called has Mocha, and after that it was named has Live script and then to java script. And the Live script was the first shipped in beta version for Netscape navigator 2 in 1995.Then finally Netscape joined of sun Microsoft and change the name as java script. In 1966 java script was included for internet explorer 3 and they used implementation java script to avoid trademarks. After that java script become most popular programming language between web designers and web developers. From the past and today java script is the most important thing between web developers because using java script they can add different kinds designs and style the web pages.
Real Life Usage
Java script as become most popular among web designers and web developers because when they add the java script to the web page it will some attractive look for the page. And today many of the designer use java script for websites, applications and desktop widgets. And here is a small sample of a java script
<html>
<body>
<h1>My First Web Page</h1>
<script type="text/javascript">
document.write("<p>" + Date() + "</p>");
</script>
document.write("<p>" + Date() + "</p>");
</script>
</body>
</html>
And java script used make cookie, validation data, read and write HTML elements and many more.All the java script are not same there are different kinds java script with different coding those are c and c++. And here is another example for java script
And java script used make cookie, validation data, read and write HTML elements and many more.All the java script are not same there are different kinds java script with different coding those are c and c++. And here is another example for java script
<html>
<body>
<h1>My First Web Page</h1>
<p id="demo">This is a paragraph.</p>
<script type="text/javascript">
document.getElementById("demo").innerHTML=Date();
</script>
</body>
</html>
Browser Compatibility
<body>
<h1>My First Web Page</h1>
<p id="demo">This is a paragraph.</p>
<script type="text/javascript">
document.getElementById("demo").innerHTML=Date();
</script>
</body>
</html>
Browser Compatibility
Mostly java script work in ever browser but it won't work in old browser's and some times if the user writes an java script and include it to the web but it won't show in the browser because it says plug in is missing download java run time environment. This would be a big problem for the developers and some times when the user install java run time environment for the browser but it won't allow the java script to show in the browser because of compatibility issues. In some browsers their are in built java script are added so the web designer or web developer can easily do the necessary things.
Advantages
Advantages
- We can add more widgets
- Easy for make the web pages more stylish
- Java script is fast to the end user
- Extended functions can add to the web page
Disadvantages
- Main issue is the security
- Rendering problems in browsers
- Some browsers won't support
Comments
Post a Comment