Get grid field id from child element so works if more than one gridfield on page

Hi,

Great module, I have a small fix so it works if you have more than one gridfield on the page auto-refreshing.

Cheers,
Steve