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


You need to login to view comments.