Here is a div
:
<div id="components-reconnect-modal" class="components-connecting-show">
<div id="1">
<div id="2">
<div id="3">
<div id="4">
</div>
The id will not change forever but the class will change by a third-party js library.
I need to get to know while the class of #components-reconnect-modal
changes, according to the different classes show the different child div.
How can I achieve this?
Thank you.