Answer the question
In order to leave comments, you need to log in
AppendChild creates a child class, how do I create a class that comes right after the parent?
I want to learn how to create a class in the Google Chrome Development Tools inspector, directly through the console. For example, if you select an element and write in the console, then a child element of the selected class will be created. How to create an element that comes right after the parent class?$0.appendChild( document.createElement('div') );
Answer the question
In order to leave comments, you need to log in
1. Not a class, but an element.
2. jQuery('#parent').after('one more')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question