$(document).ready(function() {
$('.btn').click(function() {
$(this).parent().addClass('show');
});
})
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div class="container">
<div class="row">
<h4 id="txt1">Bookmark 1</h4>
<a href="#" class="bokmarksave"> <img src="https://vignette.wikia.nocookie.net/secondlife/images/2/2b/Box.png/revision/latest?cb=20120226073326" class="hidden" width="100"></a>
<p> Lorem Ipsum is simply dummy text of the printing and </p>
<p class="page_num">Page 3 </p>
</div>
<div class="bookmark_icon">
<a href="#"><img src="http://www.pngall.com/wp-content/uploads/2016/05/Click-Here-PNG-Images.png" width="100"class="btn"></a>
</div>
</div>
Upon clicking the image labeled "click here" with the class ".btn", my intention is to assign a class ".show" to the hidden image that resides within it. Although I attempted this using jQuery, I was only able to add the class to its parent element.