Hi, still trying to work out how to add a Read more/read less - toggle between () Hide and show () at the end of this paragraph on the services page. to break up a long paragraph.
I have tried adding this code:
<html>
<head>
$("button").click(function(){
$("p").toggle();
});
});
<body>
<p>This is a paragraph.</p>
<button>Toggle between hide() and show()</button>
</body>
into the article in the back end but with no success,
Please can you tell me how I can make this code work with themler.
Heres the link from w3schools
https://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_eff_toggle
thanks Jacky.
Hi, still trying to work out how to add a Read more/read less - toggle between () Hide and show () at the end of this paragraph on the services page. to break up a long paragraph.
I have tried adding this code:
<html>
<head>
$("button").click(function(){
$("p").toggle();
});
});
<body>
<p>This is a paragraph.</p>
<button>Toggle between hide() and show()</button>
</body>
into the article in the back end but with no success,
Please can you tell me how I can make this code work with themler.
Heres the link from w3schools
https://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_eff_toggle
thanks Jacky.