Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function () {
- var cities;
- $.ajax({
- type: "POST",
- url: "WebService.asmx/GetCities",
- success: function (data) {
- cities = data.text.split(';');
- }
- });
- $('#location').autocomplete(cities, {
- autoFill: true,
- selectFirst: true,
- width: '240px'
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement