Features / Usability

Features / Usability

Re: Re: Re: All javascript disappears when trying to add a jquery plugin

posts: 126817 United Kingdom
Limen wrote:

Thank you!

You were right, apparently it wasn't necessary to include the libraries in the header.tpl or use the Custom End of body Code

Glad i could help - by the way you don't actually need the $(document).ready inside your getScript function as the whole thing will be wrapped in $(document).ready as part of the {JQ} plugin (if you don't use the "notonready" parameter) - obviously doesn't hurt it though if it's working now.

Could you add some of this to a page on doc.t.o somewhere summarising this for others? Would be nice! mrgreen