skip to Main Content

Jquery clone().show() is not working as expected

In Jquery 1.9.1 version, var dialogDiv = $(`.dialog`).clone().show(); .dis-none { display: none; } <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <div class="dialog dis-none"> <div class="boxcontent">content</div> </div> This will display the dialog content even if the dis-none class is not removed. But why it is not…

VIEW QUESTION
Back To Top
Search