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

c# - Roxy file manager in MVC doesn't accept session path -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

java - Ajax call to jsp and jsp redirecting to further jsp -