Question:

Why don't javascript programs run on my computer?

by  |  earlier

0 LIKES UnLike

I'm trying codes in javascript. They are all from reliable books. But they don't run on my comp. And, I have windows vista. Is that the problem?

 Tags:

   Report

8 ANSWERS


  1. if you kept ur hand in settings u want to change to as regular

    or

    some files may be corrupt in the internet explorer by viruses

    so download internet explorer and install it


  2. make sure you are trying to run javascript programs from internet browser. javascript programs does not run their own like other programs, they are interpreted by browser every time they run. vista should not be causing the problem, because i designed my javascript projects on vista.

  3. check you browser ,may be javascript may not be enabled.

    hope you are writing the script inside the <head>

  4. JavaScript code. I guess that is embedded in HTML and you are using a JS enabled browser to execute that. If all this is true then you can post the code here. Someone would surely be able to fix that.

    Cheers.

    [Extended]

    Placing the code inside HEAD tag is not an requirement as mentioned in an earlier post.

  5. Microsoft Internet Explorer 5.x and 6.x (Windows)

           1. Select Internet Options from the Tools menu.

           2. Click the Security tab.

           3. Click Custom Level in Security Level for this Zone.

           4. Scroll down to Scripting, near the bottom of the list.

           5. Under Active Scripting, choose Enable.

           6. Click OK to leave Security Settings. Click OK to leave Internet Options.

        Microsoft Internet Explorer 5.x (Macintosh)

           1. Choose Preferences under the Edit menu.

           2. Click Web Content under Web Browser.

           3. In Active Content, check the box next to Enable scripting.

           4. In Java, click Enable Java. Click OK.

        Microsoft Internet Explorer 4.x (Windows)

           1. Select Internet Options from the View menu.

           2. Click the Security tab.

           3. Set the security level for this zone to Custom (for expert users).

           4. Click the Settings button (to the right of Custom).

           5. Scroll to the bottom of the list and enable Active scripting.

           6. Click the OK button to close the Security Settings window. Click OK to close the Internet Options window.

        Microsoft Internet Explorer 4.x (Macintosh)

           1. Click the Preferences icon in the Toolbar.

           2. Click the Web Content icon under Web Browser.

           3. In Active Content, check the box next to Enable scripting. Click the OK button.

    Mozilla

        Mozilla (Windows)

           1. Select Edit from the menu bar and click on Preferences.

           2. Click on plus sign next to Advanced to show Advanced options.

           3. Click on Scripts & Plugins.

           4. Click on the checkbox next to Navigator under Enable JavaScript for.

           5. Click the OK button.

           6. Close this window and Click the Reload button in the browser's row of icons in the EGXpress window.

        Mozilla (Macintosh)

           1. Select Mozilla under OS X or Edit under earlier OSs from the menu bar and click on Preferences....

           2. Click on triangle next to Advanced to open sub-menu if needed.

           3. Click on Scripts & Plugins.

           4. Click on checkbox next to Navigator under Enable JavaScript for.

           5. Click the OK button.

           6. Close this window and Click the Reload button in the browser's row of icons in the EGXpress window.

    Netscape

        Netscape 7.x (Windows)

           1. Select Preferences from the Edit menu.

           2. Click Advanced on the left side of the dialog box.

           3. Check the box next to Enable Java. Click the OK button.

        Netscape 6.x (Windows, Macintosh)

           1. Select Preferences from the Edit menu.

           2. Click Advanced on the left side of the dialog box.

           3. Check the box next to Enable JavaScript for Navigator. Click the OK button.

        Netscape Navigator/Communicator 4.x (Windows, Macintosh)

           1. Select Preferences from the Edit menu.

           2. Click Advanced on the left side of the dialog box.

           3. Check the box next to Enable JavaScript. Click the OK button.

    Safari

        Safari for Macintosh

           1. Select Safari from the menu bar and click on Preferences....

           2. Click on the Security icon.

           3. Click on checkbox next to Enable JavaScript.

           4. Close that window.

           5. Close this window and Click the Reload button in the browser's row of icons in the EGXpress window.

    Opera

       1. From the browsers File menu select Preferences or press Alt+P

       2. Select Multimedia from the list on the left

       3. Check the box labeled Enable JavaScript

       4. Push OK

       5. Reload the current page

    America Online

        America Online (Windows)

           1. Select Settings.

           2. Select Preferences.

           3. Select Internet Properties.

           4. Select Custom Level.

           5. Scroll down the Custom Level screen to Scripting.

           6. Enable Active Scripting.

           7. Select Okay.

           8. Select Yes that you want to change the security settings.

           9. Select Okay.

          10. Close the Preferneces window.

          11. Close this window and Click the Reload button in the browser's row of icons in the EGXpress window.

        America Online (Mac OS X)

           1. Select AOL from the menu bar and click on Preferences....

           2. Click on the www icon in the scrolling list on the left side.

           3. Click on the Content tab.

           4. Click on checkbox next to Enable Javascript.

           5. Click the OK button.

           6. Close this window and Click the Reload button in the browser's row of icons in the EGXpress window.

    Ron

  6. First of all, before you can run a Java program, you need a compiler to do that. You can go to Java.com for more information or you could try JCreator. It's a very good program for Java. Plus, it's interface is not complicated. Don't worry, it's free.

    However, you should download the Java Development Kit (JDK, also free) on Java.com before JCreator could work.

    Hope this helped...

  7. In tools Menu -> Internet options  select advanced tab and enable script debugging [deselect it] then your javascript will run on browser and wrtie javascript in head tag of HTML

  8. CHECK YOUR BROWSER SETTINGS.

    Also if you are a devoloper , check whether the script is properly placed (inside head tag) .

Question Stats

Latest activity: earlier.
This question has 8 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.