How to run script for child doctype edit form?

I want to run a script for edit popup for child doctype row. Does anyone know how to do that?