seabaz2000
IS-IT--Management
Hi,
I am not sure if this is the place for this question, but I am attempting to access an element of a form using the document.getElementById function. But I am calling the function from inside an asp.net web part. When I call the particular object it just returns null signifying to me that it cannot find the object I am trying to get using document.getElementById. So I'm assuming that the web part can't find the form element contained in the overall web page. I was wondering if there is a javascript command i.e. this.form or otherwise that would allow me to access other form elements contained outside a particular web part.
I am not sure if this is the place for this question, but I am attempting to access an element of a form using the document.getElementById function. But I am calling the function from inside an asp.net web part. When I call the particular object it just returns null signifying to me that it cannot find the object I am trying to get using document.getElementById. So I'm assuming that the web part can't find the form element contained in the overall web page. I was wondering if there is a javascript command i.e. this.form or otherwise that would allow me to access other form elements contained outside a particular web part.