jq:动态加载js文件到当前页面
eg;
eg;
1
2
3
4
5
6
|
<wbr><wbr><wbr><wbr></wbr></wbr></wbr></wbr>
jQuery.getScript(
"{$_G[setting][jspath]}tree/jquery.simple.tree.js"
,<wbr></wbr>
function
(){
<wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>
personaltree = $(
'#tt'
).simpleTree({
<wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>
animate:
true
<wbr><wbr><wbr><wbr><wbr><wbr><wbr><wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>
});
<wbr><wbr><wbr><wbr></wbr></wbr></wbr></wbr>
});
|