Results 1 to 3 of 3

Thread: javascript: Solved

  1. #1
    User
    Join Date
    07-06-09.
    Posts
    44

    Default javascript: Solved

    Hello,
    I'd like to code something in javascript inserting a javascript library.

    I have introduced in the layout section inside the header these lines of code:

    <script type="text/javascript" src="tl_files/js/library.js"></script>
    <script type="text/javascript" src="tl_files/js/my_javascript_code_using_above_library.js"></script>

    Does anyone have an idea on what might be wrong because I don't get any javascript code executed.

    Thank you,
    Dan

  2. #2
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: javascript

    inside the header
    maybe get them into the head (or is that what you meant?)
    try also without the type="text/javascript" bit

    you may also need code in the body to instantiate

    got a url to look at?

  3. #3
    User
    Join Date
    07-06-09.
    Posts
    44

    Default Re: javascript : Solved

    Hi ramjet,

    yes you are right, I mean head (not header).
    After I cancelled type="text/javascript" I have noticed I had an extra double quote, so I had a typo My bad!
    Not the code is working as intended.
    I thank you for your reply!
    Dan

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •