Revision: 38226
                            
                                                            
                                    
                                        
Initial Code
                                    
                                    
                                                            
                                    
                                        
Initial URL
                                    
                                    
                                
                                                            
                                    
                                        
Initial Description
                                    
                                    
                                                            
                                    
                                        
Initial Title
                                    
                                    
                                                            
                                    
                                        
Initial Tags
                                    
                                    
                                                            
                                    
                                        
Initial Language
                                    
                                    
                                                    
                        at December 29, 2010 02:23 by dtigraphics
                            
                            Initial Code
//Fancy Ampersands
$('*:contains("&")','#id-of-your-page-container').each(function(){
  $(this).html($(this).html().replace(/&/g,'<em class="ampersand">&<\/em>'));
});
                                Initial URL
Initial Description
This snippet will replace any "&" within the text of the container your specify with a <span> that you can target with CSS; fancy!
Initial Title
jQuery: fancy ampersands
Initial Tags
jquery, text
Initial Language
jQuery