// Insert content at the beginning of all paragraph that has .classy CSS class elements $('.clickme').click(function(){ $('p.classy').prepend("<b>Prepended text ges here</b>"); });