NecromancerCoding

Clases de Campos de Perfil

May 5th, 2019 (edited)
1,109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.21 KB | None | 0 0
  1. $(document).ready(function(){
  2. $('.ppfield .ppflabel span').each(function() {
  3. $(this).parents('.ppfield').addClass($(this).text().split(" ")[0].toLowerCase().replace(/'/g, "").replace(/\(|\)/g, ""));
  4. });
  5. });
Add Comment
Please, Sign In to add comment