Looking for a solution with my HTML code snippet:
<h2 class="more-button">Read More</h2>
I want to change the position of another div when this button is clicked. I am trying to achieve this using:
$(".more-button").click(function(){
$(".hidden-block").css("right", "110%");
});
FIDDLE : https://jsfiddle.net/wfxxkk3x/
Unfortunately, the code has no effect at all. I have attempted various solutions without success. Any assistance would be greatly appreciated.