Loading...
 

Features / Usability


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

posts: 126297
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

jb

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.