jQuery replace \'nbsp\'


/ Published in: jQuery
Save to your folder(s)

How to replace the tab ASCII characters ( ) of the text.


Copy this code and paste it in your HTML
  1. var result = $(#text).html().replace(/ /g, '');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.