How can I get form data with JavaScript/jQuery?

How can I get form data with JavaScript/jQuery?

Is there a simple, one-line way to get the data of a form as it would be if it was to be submitted in the classic HTML-only way?
For example, in:




Recent Posts

Categories