Top Ad unit 728 × 90

trim is not working in jquery

Just use $.trim() function to remove spaces. It doesn't remove white spaces between words. I have used in some projects and its working fine.

var value = '  this is the value  ';
var MyMsg = $.trim(value);

Try it. If you get any issue then just comment and I will try to resolve.
trim is not working in jquery Reviewed by Ashok Sen on 10:16:00 Rating: 5

No comments:

Thanks for sharing your valuable comments.

All Rights Reserved by ASENwebmedia © 2014 - 2015
Powered By Blogger, Developed by Asenwebmedia

Contact Form


Email *

Message *

Powered by Blogger.