-
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
-
Re: javascript
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?
-
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