[jQuery] how to trim all elments of a form with "$.each"
[jQuery] how to trim all elments of a form with "$.each"
I would like to go through all inputs in a form and trim the fields in them. How do I do this with the $.each function? I looked at the documentation and its not clear. Please give me code.