Return to Snippet

Revision: 58367
at July 11, 2012 07:37 by jgarrettvml


Initial Code
jQuery(document).ready(function($){
    $("h3").each(function(){
	        if ($(this).text().length > 30) {
	            $(this).text($(this).text().substr(0, 27));
	            $(this).append('...');
	        }
	    });
});

Initial URL

                                

Initial Description
Limit string length/trim text with jQuery

Initial Title
Limit string length/trim text with jQuery

Initial Tags

                                

Initial Language
jQuery