anchor.diff:        });
   
         google.maps.event.addListener(marker, 'dragend', function(evt) {
  -        $("#latitude").attr("value", marker.position.lat());
  -        $("#longitude").attr("value", marker.position.lng());
  +        $("#latitude").val(marker.position.lat());
  +        $("#longitude").val(marker.position.lng());
           circle.setCenter(marker.position);
         });
   
  
positive.code:   </div>
    <div class="col-md-4">
      <div>
        <a id="locationSearchButton" href="#" class="btn btn-default">Search for a location</a>
      </div>
      <ul id="searchLocations">
      </ul>
  
negative.code:                   lng = $(e.target).attr("lng");
                var newPos = new google.maps.LatLng(parseFloat(lat),
                    parseFloat(lng));
                $("#latitude").val(lat);
                $("#longitude").val(lng);
                marker.setPosition(newPos);
  
              });
  