Hi
I got a weird scenario with my forms.
In my parent form, I got a button and when click, it will open a child form. And within the child form, i have another button which when click, will return the form element. The weird things is, it is UNABLE to return the properties of one the CHILD (own) form element, BUT it is able to return the properties of one of the PARENT form element.
This is the javascript on child form:
<script type="text/javascript">
function CloseUpdate() {
//to retrieve parent form's element
var lst = self.opener.window.document.getElementById('ctl00_ContentPlaceHolder1_lstAckEmail');
//to retrieve child form's element
var lstSSSS = window.document.getElementById('btnClear');
if (lst != null) {
alert(lst.id);
}
if (lstSSSS != null) {
alert( ...
Go to the complete details ...