I want to have a text to only be a certain amount of characters/length and after that length, I want to put a link to reveal the full length of the text.
The link w
The secret about this effect, is wrapping the parts that you want to control with HTML tags.
$(".more").toggle(function(){
$(this).text("less..").siblings(".complete").show();
}, function(){
$(this).text("more..").siblings(".complete").hide();
});
this is the
complete text being shown
more...
Online demo here: http://jsfiddle.net/zA23k/215/