5.3 / 6.0 :: jQuery in Site

0 views
Skip to first unread message

AJ Mercer

unread,
Dec 21, 2009, 12:19:41 AM12/21/09
to farcr...@googlegroups.com
it looks like
    <skin:loadJS id="jquery" />
puts the javascript at the end of <head>
so when you have jQuery code of your own in the head seaction the browser does not know about $j

Does custom JS need to be loaded with skin:loadJS as well?


--
AJ Mercer
http://webonix.net
http://twitter.com/webonix

AJ Mercer

unread,
Dec 21, 2009, 12:55:59 AM12/21/09
to farcr...@googlegroups.com
this has got me a step closer

<skin:onReady>
<cfoutput>
var data = "Core Selectors Attributes Traversing Manipulation CSS Events Effects Ajax Utilities".split(" ");
$j("##asxCode").autocomplete(data);
</cfoutput>
</skin:onReady>


2009/12/21 AJ Mercer <ajme...@gmail.com>
Reply all
Reply to author
Forward
0 new messages