innerHTML for ASCX
-
I have been trying to figure this problem out for a bit, so here is the situation. I have two ASCX files, that I have created. The first ASCX file is inserted onto my main web page. The second ASCX file is inserted into the first ASCX file. (when I say inserted, I mean the object is created within the page) Now, I need to figure out a way to access the second ASCX file in order to change some text contained inside it. I’m able to do the following if the code exists outside the ASCX files: Document.all[“Tag Name”].innerHTML = “Text to display” The above code will change the text of anything with an ID of “Tag Name” to “Text to display” Although, when I use this, the ASCX user forms do not seem to be affected, even with the proper ID tags. Can anyone explain to me how I would go about doing this including the ASCX panes? (Document.all[“Tag Name”].innerHTML = “Text to display” ) Jon G www.Gizmocoder.com