Javascript Imp Functions

Lets see the very important functions where we use frequently..

1. document.write // to write output

2.document.getElementById(“demo”).innerHTML=”My First JavaScript”; // changing content in demo

3.alert(); //alert is to prompt user

4.

Advertisements