Hi Pratik,
You can use the below-mentioned JS which attaches a popup to the marker.
JavaScript Snippet:
L.marker(location).addTo(myMap).bindPopup(popupContent).
Also set the z-index value for the leaflet popup in the StyleSheet section
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
z-index: 250;
}
See the demo screen: LeafletJS_Marker_Popup
Refer to the attached oml
I hope this helps you!
Kind regards,
Benjith Sam