Here is the snippet of code that I used to try to achieve what I was trying to achieve.
<@liaAddScript>
;(function($) {
$.getScript("${asset.get("/html/assets/jquery-ui-tabs.min.js")}")
.done(function(){
$("#id-of-tab-widget").tabs();
})
.fail(function(){
console.log("library loading failed");
});
});
})(LITHIUM.jQuery);
</@liaAddScript>
When I looked in the console in chrome, all I get is: undefined
When I expand the console error, It points to the line:
$("#id-of-tab-widget").tabs();
Cheers Again,
Dylan