Click here to Skip to main content
14,385,073 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi, I want to make a suggest textbox like[^] using google api like they do. I've been reading about it, but I cant make it in aspnet...Does anybody has an example or a page where I can learn more?

thank you

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

I found the answer using this script

<script type="text/javascript" src="">
$(document).ready(function() {

        var autocomplete = document.getElementById(&#39;ctl00_ContentPlaceHolder2_txtbuscar&#39;);
            var options = {
                //types: [&#39;(cities)&#39;],
                componentRestrictions: { country: &#39;es&#39; }

            autocomplete = new google.maps.places.Autocomplete(autocomplete, options);


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100