How to remove all blank spaces from string using JQuery

in this post, I give you an example, sometimes require the remove all spaces from a string, jquery through easily remove spaces from a string.

sometimes use the trim function to remove space from a string but here all spaces remove from a string, so here used replace function.

See below example

Leave a Reply

Your email address will not be published. Required fields are marked *