Is there any ways to click up the div function by javascript like $('#divAB7').clicked to accomplish the following functionality same done when clicked on Read more link:
<a href="#divAB7" class="btn1 fl">Read More</a>`
<script type='text/javascript'>
function js() {
$(".myHref").on("click", function (e) {
e.preventDefault();
$('#divAB7').trigger('click');
});
}
</script>
<body>
<a href='#' class="myHref">Read More</a>
<input type='submit' onClick='js()'>
<div id='divAB7' style="display:none;">
hello
</div>
</body>
change to :