Replace every tab (key) with string in jQuery?

Posted by Martti Laine on Stack Overflow See other posts from Stack Overflow or by Martti Laine
Published on 2010-04-13T17:17:48Z Indexed on 2010/04/13 17:23 UTC
Read the original article Hit count: 365

Filed under:
|

Hello

I need to go though a content of element, and replace every tabulator \t with text "(Here's a tab)". How is this possible?

Martti Laine

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about replace