How to program Javascript using Eclipse

Updated post here:

7 thoughts on “How to program Javascript using Eclipse

  1. i am working in the version: 4.2.2 i couldnt run in the way you have given. Could you please help me to sort out this problem


    1. Sharmila: Delete “WebContent” in the HTML code and it should work. It looks like recent versions of Eclipse will automatically refer to this directory.


    2. Semicolon is missing in the JS file.
      function add_numbers(a, b) {
      return a + b;
      now pls try to execute


  2. I can’t run the code by the way which you are given, please give the solution for that I’m using Eclipse kepler version. My problem is when i run the program the html file only runs,not the java script page.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.