While walking the dogs over the weekend, I spotted lots of patches of this weird foamy eggs/mould stuff stuck onto tufts of grass in a grazing meadow.
Does anyone have any idea what it might be?

I have had a look on Google, but cant find anything which looks quite the same.

TIA.