Entries for month / July 2012

Jul 27 / Trim function for older IE browsers
Tags / Tips & Tricks, / jQuery
View count: 16518

If you use jQuery, you've certainly came across the trim() function. It's the quickest and painless way to remove the white space from the beginning and end of a string. However as much as jQuery tries to cover cross-browser compatibility, there's just this little that always gets missed out on. For a quick workaround read inside.

[ Read more ]