Jump to content
Search Community

Ishvar akhaja

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Ishvar akhaja

  1. Replace br with some tag and then replace again that with br and then give span some css $demoText.html( $demoText.html().replace('<br>', "^").replace(/./g, "<span>$&</span>").replace(/\s/g, " ").replace('^', "<br>")); jQuery('br').parent('span').addClass('test'); span.test { display: block !important; height: 0; }
×
×
  • Create New...