i'm learning codeigniter, need know how write jquery code inside problem how write jquery code in right way too.
i thought have write 1 single file full of action classes , ids (ecc) , make ci load @ every page, slow down app every time change page have new reload of js file.
so thought can write multiple files based on page loaded, i'd risk of having re-write actions classes (home has own js file , button classed 'x', page has same button in case different js file jquery function x written twice in 2 different js).
my question in therefore multiple:
is there way of preloading jquery file in ci make preload in app @ start , cached , don't need reload it?
or there way bypass problem?
Comments
Post a Comment