Javascript : Modifying parent element from child block the web site to display

Posted by Suresh Behera on ASP.net Weblogs See other posts from ASP.net Weblogs or by Suresh Behera
Published on Wed, 16 Nov 2011 17:38:48 GMT Indexed on 2011/11/16 17:53 UTC
Read the original article Hit count: 452

Filed under:
|
|
Well recently i was working with Dotnetnuke and we are using lots of JavaScript around this project. Internally, dotnetnuke use lot of asp.net user control which lead to have a situation where child element accessing/modifying data of parent. Here is one example   the DIV element is a child container element. The SCRIPT block inside the DIV element tries to modify the BODY element. The BODY element is the unclosed parent container of the DIV element. 1: < html > 2: < body >...(read more)

© ASP.net Weblogs or respective owner

Related posts about .NET

Related posts about ASP.NET