On my HTML page, I want to find an element and check it exist or not in jQuery. How can I check a particular element is exist or not by element id?
If my HTML element is like:
<div class="main-subject"> <strong id="user_id">q</strong><br> <span>Test</span> </div>
I want to find user_id has existed or not?
Question and answer is powered by AnsPress.io