Friday, April 29, 2011

Write a HtmlElement method "Contains" to find if htmlelement el contains e html element.

Answer:
use HtmlElement.parentNode to back track from e to find el till e.parentNode is null


No comments:

Post a Comment