samedi 2 juillet 2016

How to access dynamic div inside any div using CSS

I have a situation where I need to access a div which is dynamically generated by jQuery mobile. How can I access this using CSS ? I need to change UI of the inside div. Following is the HTML structure.

<div id="myCreatedDiv">
    <div class="jQueryMobileCreatedDiv">
        /* I need to access this div */
    </div>
</div>

Note: Above structure I found in chrome's element inspector My original code is as follows

<div id="one" class="myDiv" ui-body-d ui-content">
    <input name="anyName" id="jQueryTextBox"/>
</div>

It would be very helpful if anyone can help me for the same.

Thanks in advance!

Aucun commentaire:

Enregistrer un commentaire