Run
Online Code Editor
jQuery trim() method
This is an example of using trim() method
Click the following button to trim the string
Click me