Giter Club home page Giter Club logo

jquery-twzipcode's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery-twzipcode's Issues

請問驗證表單時,如何驗證下拉選單是否被選擇?

我試過了data-required=true
但好像沒什麼效果
請問是不是我驗證地方錯誤了呢?

郵遞區號:
								<div class="col-sm-3">
									<div data-role="district"
									 data-name="selArea"
									 data-value=""
									 data-style="form-control zip-group zip-state"
									 data-required="true" class="inline twziptwzip s2 has-feedback">
									</div>
									<span class="glyphicon form-control-feedback" aria-hidden="true"></span>
									<div class="help-block with-errors"></div>
								</div>
								<div class="col-sm-3">
									<div data-role="zipcode"
										data-name="zipcode"
										data-value="160"
										data-style="form-control" 
										class="twziptwzip has-feedback">
									</div>
									<span class="glyphicon form-control-feedback" aria-hidden="true"></span>
									<div class="help-block with-errors"></div>
								</div>
				</div>

data中的「台」為異體字,正確寫法應為正體字的「臺」

您好,感謝支持MIT。

地址中的「台」的正確寫法應為「臺」,例如:臺灣、臺北市、臺中市、臺南市、臺東縣、釣魚臺列嶼、臺西鄉(v1.7.9正確)、霧臺鄉(v1.7.9正確)。

以上說明,請問是否能夠修正呢?謝謝您。

參考資料:

  1. 臺灣非台灣? 教部要用正字 http://news.ltn.com.tw/news/focus/paper/451629
  2. 臺與台 http://blog.udn.com/chhsia1113/9186684
  3. 教部正名 臺灣非「台」灣 http://www.appledaily.com.tw/appledaily/article/headline/20101213/33032208/
  4. 異體字「臺」與「台」的字義比較 http://chardb.iis.sinica.edu.tw/meancompare/81FA/53F0
    5.公文上,發文機關之「臺中市政府」的「臺」,為何不可以使用「台」字? http://www.secretariat.taichung.gov.tw/ct.asp?xItem=1673420&ctNode=26653&mp=101010

There is no git tags on GitHub repository

Hi @essoduke ,
We are cdnjs team, we'd like to host this library.
The git auto-updater in cdnjs relies on git tags so that it can recognize the correct version and automatically update the repo.
Could you please add git tags for the repo?

If you have any suggestions, please let me know.
Thank you.


Hi @essoduke 大大您好,
我是 CDNJS 的成員之一,我們想要收錄這個 library 到 CDNJS 中。
CDNJS 是一個前端的資源庫,我們目前已經收錄了 3241 個 library ,這數字還會再持續成長中。

在這邊想請問您是否能為這個 repository 添加 git tag 呢?
因為當新的版本釋出的時候,我們的 CDNJS bot 會根據 git tag 來自動添加版本。
在維護上也更加的方便,並且也可以讓更多人透過 CDN 的服務更快速的存取您的 library。

若以上有不妥之處,還請您見諒。
期待您的回覆。
謝謝!

cdnjs/cdnjs#9270

無 jQuery 版本的 id 查找問題

如果把 zipcode 的 div 放在第一個,就會因為還沒塞 Math.random().toString(36).substr(2, 10) 這個 id 而找不到 county 跟 district 元件

safari、mobile device set not working

不好意**請問一下:
在chrome IE firefox上set值可以執行
但發現 safari 與手機上瀏覽器(實測chrome與safari) 無反應
我的情況是 我透過session將A頁的 county與district傳到B頁中 並想塞入到B頁面的select內
html部分:
2019-01-09 6 26 20
js部分:
2019-01-09 6 25 31

查詢 台北市 松山區
console出來session值 為台北市松山區
但另外有監看change時候value的變化 發現皆為default值 (此case為中正區)

safari上顯示與console部分:

2019-01-09 6 27 05

2019-01-09 6 27 12

chrome 對比部分:
輸入 宜蘭縣 礁溪鄉

console結果如下

session收到宜蘭縣礁溪鄉
onchange觸發第一次 切換縣市 所以為 宜蘭市 第二次為更改區域 切換為礁溪鄉 輸出成功

chrome console 如下:
2019-01-09 6 27 24

想請問有推薦辦法解決safari與mobile device的部分嗎?

動態新增一組選擇城市與地區的欄位時,之前的欄位會被重置。

Hi TWzipcode作者您好:

我想開發類似於 https://code.essoduke.org/twzipcode/ 這個範例網頁的Playground功能,可以讓使用者動態增加選擇城市與地區的欄位。我的code放置於此連結中:https://codepen.io/Ying-Chiao-Liao/pen/rNoWxGq。我目前遇到的問題是假設我第一組城市與地區的內容選好後:
Screenshot 2023-09-05 at 9 02 34 PM
再點擊"+"的按鈕新增一組城市與地區給使用則選擇後,原本第一組的城市會還原成原本的數值:
Screenshot 2023-09-05 at 9 04 00 PM

不曉得是否我是用上有誤,所以想向您請教一下,感謝!

錯字問題

新竹縣 -> 峨'眉'鄉 目前是 峨'嵋'鄉

未定義檢查有問題

在載入舊資料時 因為台 是以簡字儲存 所以 dc 會有值 但在 data 會找不到
if ('undefined' !== typeof data[dc][dd])
應該改為
if ('undefined' !== typeof data[dc] && 'undefined' !== typeof data[dc][dd])

npm 上的版本號需要修正

npm 上顯示的版本號不是 1.7.14.1 而是 1.7.1-4.1,造成 brunch 套件在打包檔案時會發生找不到對應版本的情形(會一直去找 1.7.14.1 找不到而報錯)。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.