I am struggling to get a more/less working in an ajax-loaded section of a webpage. I adapted the good script http://jsfiddle.net/gDvyR/72/, mainly by adding "on" functionality as I understood this solves the ajax issue. See resulting http://jsfiddle.net/033mg0cf/1/. The fiddle works, but not within the ajax-created section. The JQuery is in page calling the ajax section, not in the section itself. How to solve?
<p class="more">Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Curabitur blandit tempus porttitor. etc etc </p>
<a class="readmorebtn">Read more</a>
var moreText = "Read more",
lessText = "Read less",
moreButton = $("a.readmorebtn");
moreButton.on("click", function () {
var $this = $(this);
$this.text($this.text() == moreText ? lessText : moreText).prev(".more").slideToggle("fast");