Make a div a child of another div using Javascript -


मैंने एक div adiv बनाया है मैं इस div को Bdiv जावास्क्रिप्ट का उपयोग?

मान लें adiv जावास्क्रिप्ट में बनाया गया है और bdiv पृष्ठ पर घोषणात्मक रूप से बनाया गया है:

  document.getElementById ("bdiv")। AppendChild (adiv);    

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -