I want to change the background color of an IE form element. $oForm = _IEFormGetObjByName ($oIE, "form1") $oElems = _IEFormElementGetCollection ($oForm) For $oElem in $oElems if StringInStr(StringRight($oElem.id,9),"name_name") > 0 Then $oTboxName = $oElem ; here I want to find the $oElem parent form and change its background color EndIf Next So I need to go up the DOM to find the parent <form> and then set its background color. How would I do this?