Pages

Web hosting

Sunday, 12 June 2016

Auto Complete Textbox for Place Name

HTML code for autocomplete place name

This code help to popup menu for search city name textbox in your blog and website. It work base on google map facility.

Simply copy and paste this code in your web-page and it work good.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <style type="text/css">
        body
        {
            font-family: Arial;
            font-size: 10pt;
        }
    </style>
</head>
<body>
    <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false&libraries=places"></script>
    <script type="text/javascript">
        google.maps.event.addDomListener(window, 'load', function () {
            var places = new google.maps.places.Autocomplete(document.getElementById('txtPlaces'));
            google.maps.event.addListener(places, 'place_changed', function () {
                var place = places.getPlace();
                var address = place.formatted_address;
                var latitude = place.geometry.location.lat();
                var longitude = place.geometry.location.lng();
                var mesg = "Address: " + address;
                mesg += "\nLatitude: " + latitude;
                mesg += "\nLongitude: " + longitude;
                alert(mesg);
            });
        });
    </script>
    <span>Location:</span>
    <input type="text" id="txtPlaces" style="width: 250px" placeholder="Enter a location" />
</body>
</html>




Use and Enjoy HTML

Tuesday, 26 April 2016

Fast your PC by delete temporary file automatic

Thursday, 22 October 2015

Computer A to Z Information (Way - 1)

Check your Computer Hardware and Software information using by one command

There is 3 different way to check this information.

Way 1 : My Computer

Step - 1 Right click on My Computer --> Property

 

Step - 2 Open System Property windows
             --> Operating System, Computer Name, Processor and RAM information.


Step - 3 Click on Hardware tag --> click on Device Manager


Step - 4 Check your system all hardware configuration.
             --> Device Manager contains information about all the hardware in your computer