Forums

Call Javascript Help... (3 posts)

  1. swamyg1
    Member
    Posted 3 years ago #

    Hi All,

    I'm using javascript successfully in all other pages on the site... and I've put the script in the head section of header.php of wordpress just like it is on my other pages. However, I get nothing when calling the script when testing my live site. The script drops down a contact box and looks like this:

    <script type="text/javascript" src="../../../script/contact.js"></script>

    My blog is in the root of my site and my scripts are in a folder named "script." Could someone please tell me why this isn't working and how to fix it? Thanks in advance.

  2. koeln
    Member
    Posted 3 years ago #

    Do you have an url?

  3. swamyg1
    Member
    Posted 3 years ago #

    Nevermind, I figured it out... it was a stupid mistake of putting the script in the wrong place... thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic