How to do coding for parent and child in java script. We generally made object to do it.. can you please brief it...