Select a location on the map depending on which button is clicked
To DRY up your code, you need to use a variable to call the same code with different input.s It seems like if you had something like this:

const circles = {
   First: myloc,
   Second: myloc1
}


Then you'd be able to dry up the click code:

L.circle(circles[$(this).val()], {
            color: '#7a7777',
            weight: 0.1,
            fillColor: '#7a7777',
            fillOpacity: 0.2,
            radius: 0
        }).addTo(map)