I have typed my entire program in notepad the following is the coding :
document.write("The Addition of 2 numbers is : ");
Now with what extension should I save the above file?
If I save the above file with .js extension I am getting a dialog box stating that the error : File is undefined.
But when the above file is saved with the .html extension it is working very well.
So can anybody tell me whether saving it withthe extension .html is correct or not?
Please help me.
Thanks in advance!!