Hi , I have a project and my project using many plugins from jquery (thank you everybody ... ). But it makes my page load slower than usual because i load all jquery libs before loading pake (I load it on templates) but I am not using all of it ...
I just need a plugins /script that can load javascript just when i need it and it should placed before everything else (before $ (document).ready() ) for example, i want to load table sorter .. i will call $.load(' http://localhost/js/tablesorter.min.js') ; and then on $(document).ready(function(){$('#mytbl').tablesorter();}); do you have any idea how to do that ?