. .
[iklan]

Menyisipkan div ke dalam div

Berikut kodenya :

document.getElementById("lebar").insertAdjacentHTML("afterend","Teks yang disisipkan");



Berikut hasil contoh penerapannya:

#player

GeeksforGeeks

This is the text which has already been typed into the div





DepoAir


  • Pupuler
  • 0 comments:

    Posting Komentar

    Catatan Sementara

     
    © 2021 Catatan Afandi Kusuma | www.suwur.com | Furniture.Omasae | JayaSteel | OmaSae | suwur | Galvalum | DepoAirIsiUlang | Seluruh Arsip