<form> <input type="text" name="FirstName" value="Bill" /> <input type="text" name="LastName" value="Gates" /> </form>
$("form").serialize();
结果:FirstName=Bill&LastName=Gates