Wednesday, 5 December 2012

Places Autocomplete using Google Places Library


This script
- uses Google Places library to autocomplete the address filled by users on your website.
You may restrict autocomplete requests to a particular country at a time.




Download Pack     Live Demo    


How to use:

The download pack contains two files - Autocomplete.html and places.js.

1. Define your Countries

Just define the Countries for which you want the autocomplete to work. You need to add these countries as entries in the select box. The value attribute of your option tag should be a two character, ISO 3166-1 Alpha-2 compatible country code.
Example - "in" for India ...



Let me know if you face any issues.

1 comment:

  1. Please write posts on
    1) Locate physical address from ip address
    2) Send automated emails to mutiple clients using batch and java
    3) picture gallery that displays all photos by fading pictures randomly

    ReplyDelete