The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Java script is not working in the html file

Discussion in 'General Discussion' started by its_joe, Dec 25, 2007.

  1. its_joe

    its_joe Well-Known Member

    Joined:
    Feb 15, 2007
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    We have CentOS and WHM 11 on the server. And it is a shared server.

    One website uses html page and in that html page it have one .js file included. It is not working on the server. Using that .js file, we should see one drop down menu. but it is not displaying it.

    I checked that same script on the other server and that is working fine there.

    So please assist us that why .js script not displaying dropdown menu.

    thanks.

    its_joe
     
  2. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    JavaScript is rendered by the browser and it is not executed by the server. I would suggest checking the .htaccess file that may be blocking .js file.
     
  3. DjMorley

    DjMorley Registered

    Joined:
    Dec 26, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    bolton/preston
    yes i wud check your htaccess as well..
     
    #3 DjMorley, Dec 26, 2007
    Last edited: Dec 26, 2007
Loading...

Share This Page