<form>
<input type="text" name="FirstName" value="Bill" />
<input type="text" name="LastName" value="Gates" />
</form>
$("form").serialize();
结果:FirstName=Bill&LastName=Gates
2022-10-02 23:16:25
<form>
<input type="text" name="FirstName" value="Bill" />
<input type="text" name="LastName" value="Gates" />
</form>
$("form").serialize();
结果:FirstName=Bill&LastName=Gates