/ Published in: JavaScript
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
$(this).attr('id').substr( $(this).attr('id').lastIndexOf( '-' ) + 1 );
Comments
 Subscribe to comments
                    Subscribe to comments
                
                