-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
表單裡有多筆地址用到此套件,送出只抓到最後一筆 #14
Comments
元素名稱是否有加上 [] 符號?例如 : selector.twzipcode({
'zipcodeName': 'zipcode[]',
'countyName' : 'county[]',
'districtName': 'district[]'
}); |
嘗試之後可以了,文件有寫抱歉沒看清楚,謝謝:) |
只要寫一個方便的 function 來取值應該就可以了。 |
怪了,我還是試不出來= = 也沒找到文件哪有寫呀? |
不太清楚您所謂的「只抓到第一個」是指什麼? 我的測試: 根據您提供的語法,POST 的是 county[], district[], zipcode[] 陣列,所以結果應該會是:
|
可以了~原來是被手風琴開合語法影響@@ 感謝回覆~ |
感謝提供如此好用的工具,不過在多筆運用時會有個問題,
就是送出只抓最後一筆,請問能讓他抓到多筆的資料嗎?THX~
The text was updated successfully, but these errors were encountered: