How can I get form data with JavaScript/jQuery?

$('form').serialize() //this produces: "foo=1&bar=xxx&this=hi"

demo

1 thought on “How can I get form data with JavaScript/jQuery?”

  1. Wonderful article! This is the kind of information that should be
    shared around the net. Disgrace on Google for no longer positioning this submit higher!

    Come on over and visit this site.

    Reply

Leave a Comment