Skip to content

Commit

Permalink
1.5.0 - new database, geodb.
Browse files Browse the repository at this point in the history
  • Loading branch information
earthchie committed Apr 20, 2017
1 parent 69c843b commit ef3114e
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 121 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ <h2>ใหม่! โหมดค้นหา</h2>
$search: $('#demo2 [name="search"]'),

onDataFill: function(data){
console.log(data)
var html = '<b>ที่อยู่:</b> ตำบล' + data.district + ' อำเภอ' + data.amphoe + ' จังหวัด' + data.province + ' ' + data.zipcode;
$('#demo2-output').prepend('<div class="uk-alert-warning" uk-alert><a class="uk-alert-close" uk-close></a>' + html + '</div>');
}
Expand Down
1 change: 1 addition & 0 deletions jquery.Thailand.js/database/geodb.json

Large diffs are not rendered by default.

Binary file added jquery.Thailand.js/database/geodb.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions jquery.Thailand.js/dist/jquery.Thailand.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ef3114e

Please sign in to comment.