Learn Javascript Tutorial

  • JavaScript Tutorial for beginners and professionals is a solution of client side dynamic pages.
  • JavaScript is an object-based scripting language that is lightweight and cross-platform.
  • JavaScript is not compiled but translated. The JavaScript Translator (embedded in browser) is responsible to translate the JavaScript code.
 
JavaScript Example
 
<h2>Welcome to JavaScript</h2>  
<script>  
document.write("Hello JavaScript by JavaScript");  
</script>  

JavaScript is used to create interactive websites. It is mainly used for:

  • Client-side validation
  • Dynamic drop-down menus
  • Displaying data and time
  • Displaying popup windows and dialog boxes (like alert dialog box, confirm dialog box and prompt dialog box)
  • Displaying clocks etc.