I have the js code
$size = 50;
And I want you to click this button
<label for="post-1" class="read-more-trigger" onclick="$size = 500"></label>
it changes the value to 500. My only difficulty is to make when clicking the button again the value go back to the initial "50". I think it's possible to do this with some if's and else's but I'm very lay in js and I need it.