over 9 years ago
createElement() Method in JavaScript is used to create a HTML element dynamically.
lets take an example:
the "selectbox" is the Tag name in statement 1 that define the HTML element to be created. for the same purpose the createElement() is used. In a larger scale we can make option in the select box using the same method as done in above.
Can you help out the community by solving one of the following Javascript problems?
Do activity (Answer, Blog) > Earn Rep Points > Improve Rank > Get more opportunities to work and get paid!
For more topics, questions and answers, please visit the Tech Q&A page.
0 Comment(s)