From d86094fc2d2cd99f6b2095be95be394b0975de2e Mon Sep 17 00:00:00 2001 From: Tao Shi Date: Fri, 9 Sep 2016 20:33:13 +0800 Subject: [PATCH] update markdown --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cca1083..ce77287 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,17 @@ > A simple jQuery plugin for picking provinces, cities and districts of China. -- [Homepage](http://tshi0912.github.io/city-picker) +- [Demo](http://tshi0912.github.io/city-picker) +##Release History +###v1.1.0 +Add function to get the codeļ¼š + +```javascript +// type: null or undefined(get the full code path, separated with /), province, city, district +$('.city-picker').data('citypicker').getCode(type); +``` ## Main