jquery 获取name一样的值

$("input[name=test]").map(function(){return this.value;}).get().join(",") 
原文地址:https://www.cnblogs.com/Fooo/p/9629278.html