jquery - what difference does it make to append stylesheets or js files on different order? how to use append and prepend stylesheet or append and prependfile? -


अगर मैं लिखूं तो यह क्या अंतर करता है:

  $ this-> headScript ( ) - & gt; प्रीपेफ़फ़ाइल (PUBLIC_PATH। "/ जेएस / फ्रंटएण्ड / एफबी.जेएस");   

और फिर यह:

  $ this- & gt; हेडस्क्रिप्ट () - & gt; अनुलग्नक फ़ाइल (PUBLIC_PATH। "/ Js / jquery.bPopup.js" );    

प्रीपेनफ़ाइल () विधि सूची के ऊपर जोड़ती है , और ऐपेंडफ़ाइल () पद्धति सूची के अंत में जोड़ती है।

पुस्तकालयों के लिए jQuery जैसे prependfile का उपयोग करना बेहतर है I

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -