how to display div id value in form input : i am trying to show JavaScript output value in form input. bellow my div which output the value. 

    <div id="geo" class="geolocation_data"></div>

but i want to show in input box. i tried bellow code but not showing any

    <input type="text" placeholder="Please type a location" class="form-control input-lg noredius geolocation_data" value="" id="geo">