what type of frogs?? what are your enclosure specs like? eg- temps, humdity, size, hiding spots, water source etc?
when did you get the frog? recently?
what does the leg look like? fungal infections can be white or brown/black. they devolop because of an injurie or abrasion which can go infected if they are in high humidity