<form> <input type="text" name="FirstName" value="Bill" /> <input type="text" name="LastName" value="Gates" /> </form>
$("form").serialize();
结果:FirstName=Bill&LastName=Gates
<form> <input type="text" name="FirstName" value="Bill" /> <input type="text" name="LastName" value="Gates" /> </form>
$("form").serialize();
结果:FirstName=Bill&LastName=Gates
转载于:https://www.cnblogs.com/flywing/p/4971907.html