[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

     
    © - Catatan Afandi Kusuma | Buku.suwur | Furniture.Omasae | JayaSteel | OmaSae | Alat Pesta + Wedding | Galvalum | DepoAirIsiUlang | Seluruh Arsip