I found this script (more/less text). When I implemented to code with jQuery lib 1.11, he does not work. I can not know why?
Code:
<span class="teaser">text goes here</span>
<span class="complete"> this is the complete text being shown</span>
<span class="more">more...</span>
jQuery:
$(".more").toggle(function(){
$(this).text("less..").siblings(".complete").show();
}, function(){
$(this).text("more..").siblings(".complete").hide();
});
Can ask for help? Thanks