遍歷class為input-text的文本框,獲取值
$(".input-text").each(function(){
vals+=$(this).val()+',';
});
當然獲取具有相同class的也可試用。jquery的各種選擇器都是可用的。