JQuery ® Notes for Professionals GoalKicker com


Download 0.94 Mb.
Pdf ko'rish
Sana12.05.2020
Hajmi0.94 Mb.

    

 of your html.

The best practice is to load any external JavaScript libraries at the head tag with the 

async

 attribute. Here is a



demonstration:

    

      

         </b>Loading jquery-2.2.4<b>

         

 

src



=

"https://code.jquery.com/jquery-2.2.4.min.js"

 async

>

      

      

          


This page is loaded with jquery.

      


   

id

=



"greeting"

>
 world!

  



   

id

=



"greeting"

> world!

        

                

  •                 

     

    href


    =

    "some_url/"



    >Link 1

                

  •             

  •                 

     

    href


    =

    "some_url/"



    >Link 2

                

  •             

  •                 

     

    href


    =

    "some_url/"



    >Link 3

                



  •         


    
Download 0.94 Mb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2020
ma'muriyatiga murojaat qiling