Home made Chocolates in Bangalore

Shop home made chocolates at affordable price in bangalore

Meaning of Kumki

Kumki is a movie based on a mahout life

Good Example of a Brain Study

Nice exercise to increase your brain power

Ayurvedic Bhavan in Bangalore

One stop shop for all your Herbal and Aruvedic products in bangalore

Rajni BirthDay Special

Rajni is always special. Whats new in his Bday ?

Showing posts with label JavaScript. Show all posts
Showing posts with label JavaScript. Show all posts

Apr 16, 2012

Adding External JavaScript code in HTML

Its quite familiar that JavaScript need HTML to run .So there are 2 ways in incorporating Java Script in HTML

  1. Adding Internally
    1. adding a java script code in html code and save it as file-name.html and run it
  2. Adding Externally 
    1. Calling a java-script code [.js file] in your HTML code
    
 Here samp.js will be having the code to display the text when the button is clicked