js获取form表单的所有参数get方式

var serializeUrl = $("#inputForm").serialize();

原文地址:https://www.cnblogs.com/DevilBoy/p/13032483.html